summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-11 20:08:34 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-11 20:08:34 (GMT)
commit981787c9c5a6f5af8995e6b7f92071f77bb916f9 (patch)
tree37944a4cd246de9215af997f171ecb199de01798 /Source/cmCTest.cxx
parent12cc89a8e5261ab08177f4f205b932ee50c26a18 (diff)
downloadCMake-981787c9c5a6f5af8995e6b7f92071f77bb916f9.zip
CMake-981787c9c5a6f5af8995e6b7f92071f77bb916f9.tar.gz
CMake-981787c9c5a6f5af8995e6b7f92071f77bb916f9.tar.bz2
COMP: Fix stl string access
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 22e0c1e..390774f 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2057,10 +2057,10 @@ std::string cmCTest::GetShortPathToFile(const char* cfname)
{
const std::string& sourceDir
= cmSystemTools::CollapseFullPath(
- this->GetCTestConfiguration("SourceDirectory"));
+ this->GetCTestConfiguration("SourceDirectory").c_str());
const std::string& buildDir
= cmSystemTools::CollapseFullPath(
- this->GetCTestConfiguration("BuildDirectory"));
+ this->GetCTestConfiguration("BuildDirectory").c_str());
std::string fname = cmSystemTools::CollapseFullPath(cfname);
// Find relative paths to both directories