summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildAndTestHandler.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-06 21:53:32 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-06 21:53:32 (GMT)
commitfa277b29e41a8de43913f0a63b273bb3dbc759e8 (patch)
treef3b7bf879516bb09d46fad80ddd7e22fafa1a77f /Source/CTest/cmCTestBuildAndTestHandler.cxx
parentba5fb16519d095051ea90e642cbf41a28be6a03d (diff)
downloadCMake-fa277b29e41a8de43913f0a63b273bb3dbc759e8.zip
CMake-fa277b29e41a8de43913f0a63b273bb3dbc759e8.tar.gz
CMake-fa277b29e41a8de43913f0a63b273bb3dbc759e8.tar.bz2
Remove c_str() calls from stream arguments.
Mostly automated: git grep -l '.c_str() <<' | xargs sed -i 's|\.c_str() <<| <<|g'
Diffstat (limited to 'Source/CTest/cmCTestBuildAndTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestBuildAndTestHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx
index 0cba8b2..632f452 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.cxx
+++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx
@@ -302,7 +302,7 @@ int cmCTestBuildAndTestHandler::RunCMakeAndTest(std::string* outstring)
out << "Could not find path to executable, perhaps it was not built: "
<< this->TestCommand << "\n";
out << "tried to find it in these places:\n";
- out << fullPath.c_str() << "\n";
+ out << fullPath << "\n";
for (unsigned int i = 0; i < failed.size(); ++i) {
out << failed[i] << "\n";
}