COMP: Fixed ambiguous call to insert method of string.

This commit is contained in:
Brad King 2005-04-12 13:33:58 -04:00
parent 1004073942
commit 85f82c2092
1 changed files with 2 additions and 1 deletions

View File

@ -1296,7 +1296,8 @@ kwsys_stl::string SystemTools::ConvertToWindowsOutputPath(const char* path)
if(ret.find(' ') != kwsys_stl::string::npos
&& ret[0] != '\"')
{
ret.insert(0, 1, '\"');
ret.insert(static_cast<unsigned int>(0),
static_cast<unsigned int>(1), '\"');
ret.append(1, '\"');
}
return ret;