diff options
author | Marius Messerschmidt <marius.messerschmidt@googlemail.com> | 2021-05-08 20:30:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-19 13:06:27 (GMT) |
commit | bceb8e2ed23340a90d2093e05d50f0cc797f6432 (patch) | |
tree | 01e3f1a9142ffa35813617296b49b1c335cc7f5e /Source/CTest | |
parent | 82fd8b6ba36658705fc55bc40df0b6b6ec80b773 (diff) | |
download | CMake-bceb8e2ed23340a90d2093e05d50f0cc797f6432.zip CMake-bceb8e2ed23340a90d2093e05d50f0cc797f6432.tar.gz CMake-bceb8e2ed23340a90d2093e05d50f0cc797f6432.tar.bz2 |
cmMessenger: Pass title inside a metadata structure
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestBuildAndTestHandler.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx index a18cbb4..adfc8ef 100644 --- a/Source/CTest/cmCTestBuildAndTestHandler.cxx +++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx @@ -19,6 +19,8 @@ #include "cmWorkingDirectory.h" #include "cmake.h" +struct cmMessageMetadata; + cmCTestBuildAndTestHandler::cmCTestBuildAndTestHandler() { this->BuildTwoConfig = false; @@ -125,7 +127,7 @@ public: : CM(cm) { cmSystemTools::SetMessageCallback( - [&s](const std::string& msg, const char* /*unused*/) { + [&s](const std::string& msg, const cmMessageMetadata& /* unused */) { s += msg; s += "\n"; }); |