summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-06 20:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-07 18:41:27 (GMT)
commit82edd98300b9d050dd28fdfa1e6ea7b18ecca22c (patch)
treea0bd32bc16a5793f9729cfb82872e4df8f47ad78 /Source/CTest
parent062cfd991faac000d484c74e5af7d65726c655dc (diff)
downloadCMake-82edd98300b9d050dd28fdfa1e6ea7b18ecca22c.zip
CMake-82edd98300b9d050dd28fdfa1e6ea7b18ecca22c.tar.gz
CMake-82edd98300b9d050dd28fdfa1e6ea7b18ecca22c.tar.bz2
cmSystemTools: MessageCallback and Message() accept std::string argument
Diffstat (limited to 'Source/CTest')
-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 2fd4c7a..3856569 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.cxx
+++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx
@@ -118,7 +118,7 @@ public:
: CM(cm)
{
cmSystemTools::SetMessageCallback(
- [&s](const char* msg, const char* /*unused*/) {
+ [&s](const std::string& msg, const char* /*unused*/) {
s += msg;
s += "\n";
});