From a18df448dbe719c3035ef97c6fe6e2c84bc42b5e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 12 Apr 2005 15:40:07 -0400 Subject: BUG: fix Ambiguity in insert call --- Source/cmLocalVisualStudio7Generator.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index e623d2c..6796b21 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -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(0), + static_cast(1), + '-'); option.append(flagTable->commandFlag); while(flags.find(option) != flags.npos) { -- cgit v0.12