mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Don't change an std::set in the loop that enumerates it. Patch by Daniel Zimmermann <netzimme@aim.com>
See issue #3128 for more details. svn path=/trunk/; revision=41518
This commit is contained in:
parent
46ec0bb579
commit
d38eca89a3
1 changed files with 1 additions and 5 deletions
|
@ -400,11 +400,7 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
|||
fprintf ( OUT, ";" );
|
||||
|
||||
string unescaped = *it1;
|
||||
defines.erase(unescaped);
|
||||
const string& escaped = _replace_str(unescaped, "\"","");
|
||||
|
||||
defines.insert(escaped);
|
||||
fprintf ( OUT, "%s", escaped.c_str() );
|
||||
fprintf ( OUT, "%s", _replace_str(unescaped, "\"","").c_str() );
|
||||
}
|
||||
fprintf ( OUT, "\"\r\n" );
|
||||
fprintf ( OUT, "\t\t\t\tForcedIncludeFiles=\"%s\"\r\n", "warning.h");
|
||||
|
|
Loading…
Reference in a new issue