소스 검색

COMP: Fixed ambiguous call to insert method of string.

Brad King 20 년 전
부모
커밋
85f82c2092
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Source/kwsys/SystemTools.cxx

+ 2 - 1
Source/kwsys/SystemTools.cxx

@@ -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;