mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -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
|
#ifdef _WIN32
|
||||||
// Convert backslashes to slashes.
|
// Convert backslashes to slashes.
|
||||||
string clean_filename;
|
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) == '\\') {
|
if ((*pi) == '\\') {
|
||||||
clean_filename += '/';
|
clean_filename += '/';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user