summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-25 12:58:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-25 12:59:11 (GMT)
commit9f84cbd8c323a5a59b666a8bc8199e52a181bb35 (patch)
tree238b6023b3df2c29e2160c373df263669e954fd8 /Source/cmCTest.cxx
parent5a6e683a32c8ba9f7610e4ca0c6c3d9e7888d934 (diff)
parent99337d345ba9d3379135c90854be23403fa8e274 (diff)
downloadCMake-9f84cbd8c323a5a59b666a8bc8199e52a181bb35.zip
CMake-9f84cbd8c323a5a59b666a8bc8199e52a181bb35.tar.gz
CMake-9f84cbd8c323a5a59b666a8bc8199e52a181bb35.tar.bz2
Merge topic 'error-overloads'
99337d345b cmSystemTools::Error(): new overload accepting std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2845
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 4e2f275..989c7ee 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2173,7 +2173,7 @@ int cmCTest::Run(std::vector<std::string>& args, std::string* output)
// handle the simple commandline arguments
std::string errormsg;
if (!this->HandleCommandLineArguments(i, args, errormsg)) {
- cmSystemTools::Error(errormsg.c_str());
+ cmSystemTools::Error(errormsg);
return 1;
}