BUG: fix Ambiguity in insert call
This commit is contained in:
parent
c8cc20a1af
commit
a18df448db
|
@ -545,7 +545,9 @@ void cmLocalVisualStudio7Generator::FillFlagMapFromCommandFlags(
|
|||
{
|
||||
option.reserve(strlen(flagTable->commandFlag+2));
|
||||
// first do the - version
|
||||
option.insert(0, 1, '-');
|
||||
option.insert(static_cast<unsigned int>(0),
|
||||
static_cast<unsigned int>(1),
|
||||
'-');
|
||||
option.append(flagTable->commandFlag);
|
||||
while(flags.find(option) != flags.npos)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue