summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2001-12-06 22:40:25 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2001-12-06 22:40:25 (GMT)
commitb689b4b5fab0c580f98ee2fdbcc35bc5ad20564a (patch)
treebc1bdc057c17fba6bc09c0210ab733a1193c987a /Source/CursesDialog
parent26ecd7731d5d3c336c1a001549f1aa541d7d6a15 (diff)
downloadCMake-b689b4b5fab0c580f98ee2fdbcc35bc5ad20564a.zip
CMake-b689b4b5fab0c580f98ee2fdbcc35bc5ad20564a.tar.gz
CMake-b689b4b5fab0c580f98ee2fdbcc35bc5ad20564a.tar.bz2
Fix bug with string
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 7270161..38ab65e 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/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 )