compilation error

This commit is contained in:
David Rose 2009-09-20 18:48:54 +00:00
parent bd71beaf76
commit a1add7d090

View File

@ -928,7 +928,9 @@ remove_file_from_list(vector<string> &contents, const string &filename) {
#ifdef _WIN32
// Convert backslashes to slashes.
string clean_filename;
for (string::iterator pi = filename.begin(); pi != filename.end(); ++pi) {
for (string::const_iterator pi = filename.begin();
pi != filename.end();
++pi) {
if ((*pi) == '\\') {
clean_filename += '/';
} else {