COMP: fix compile error
This commit is contained in:
parent
c3d9a7ca5a
commit
9104097502
@ -550,11 +550,8 @@ void cmLocalVisualStudio7Generator::FillFlagMapFromCommandFlags(
|
|||||||
{
|
{
|
||||||
option.reserve(strlen(flagTable->commandFlag)+2);
|
option.reserve(strlen(flagTable->commandFlag)+2);
|
||||||
// first do the - version
|
// first do the - version
|
||||||
option.clear();
|
option = "-";
|
||||||
option.insert(static_cast<std::string::size_type>(0),
|
option += flagTable->commandFlag;
|
||||||
static_cast<std::string::size_type>(1),
|
|
||||||
'-');
|
|
||||||
option.append(flagTable->commandFlag);
|
|
||||||
while(flags.find(option) != flags.npos)
|
while(flags.find(option) != flags.npos)
|
||||||
{
|
{
|
||||||
// replace the flag
|
// replace the flag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user