diff options
author | Brad King <brad.king@kitware.com> | 2014-11-25 15:18:49 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-11-25 15:18:49 (GMT) |
commit | 4987b3716583504442bb737c9d1f170ba99feed8 (patch) | |
tree | d9004aecaea8d55209790acd6773f072bed0db8b /Source/CursesDialog | |
parent | 623a06a6f3bb2ce4a55f319207116271eb054c72 (diff) | |
parent | 5eb4d7590e0e721b56fc735ab6da35d55ad339d0 (diff) | |
download | CMake-4987b3716583504442bb737c9d1f170ba99feed8.zip CMake-4987b3716583504442bb737c9d1f170ba99feed8.tar.gz CMake-4987b3716583504442bb737c9d1f170ba99feed8.tar.bz2 |
Merge topic 'remove-c_str'
5eb4d759 Remove some unneeded c_str calls.
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index 0734927..4200e9e 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/Source/CursesDialog/cmCursesMainForm.cxx @@ -47,7 +47,7 @@ cmCursesMainForm::cmCursesMainForm(std::vector<std::string> const& args, cmSystemTools::GetCMakeCursesCommand()); // create the arguments for the cmake object - std::string whereCMake = cmSystemTools::GetProgramPath(this->Args[0].c_str()); + std::string whereCMake = cmSystemTools::GetProgramPath(this->Args[0]); whereCMake += "/cmake"; this->Args[0] = whereCMake; this->CMakeInstance->SetArgs(this->Args); |