mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
COMP: fix compile error
This commit is contained in:
@@ -550,11 +550,8 @@ void cmLocalVisualStudio7Generator::FillFlagMapFromCommandFlags(
|
||||
{
|
||||
option.reserve(strlen(flagTable->commandFlag)+2);
|
||||
// first do the - version
|
||||
option.clear();
|
||||
option.insert(static_cast<std::string::size_type>(0),
|
||||
static_cast<std::string::size_type>(1),
|
||||
'-');
|
||||
option.append(flagTable->commandFlag);
|
||||
option = "-";
|
||||
option += flagTable->commandFlag;
|
||||
while(flags.find(option) != flags.npos)
|
||||
{
|
||||
// replace the flag
|
||||
|
||||
Reference in New Issue
Block a user