mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
compilation error
This commit is contained in:
parent
bd71beaf76
commit
a1add7d090
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user