浏览代码

Fix bug with string

Andy Cedilnik 24 年之前
父节点
当前提交
b689b4b5fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/CursesDialog/cmCursesMainForm.cxx

+ 1 - 1
Source/CursesDialog/cmCursesMainForm.cxx

@@ -520,7 +520,7 @@ void cmCursesMainForm::FillCacheManagerFromUI()
       tmpString = (*m_Entries)[i]->m_Entry->GetValue();
 
       // Remove trailing spaces, convert path to unix slashes
-      string tmpSubString = 
+      std::string tmpSubString = 
 	tmpString.substr(0,tmpString.find_last_not_of(" ")+1);
       if ( entry->m_Type == cmCacheManager::PATH || 
 	   entry->m_Type == cmCacheManager::FILEPATH )