diff options
author | Brad King <brad.king@kitware.com> | 2014-05-15 13:38:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-15 14:24:21 (GMT) |
commit | 73b13f56413cac74d90a2ab1938add3bbe740ecb (patch) | |
tree | 9cfad78062b4804f73d5efab6cce30f5fe836504 /Source/CTest/cmCTestBuildAndTestHandler.cxx | |
parent | 7577a542dfa0aac045b97bfe4440241583c62e3a (diff) | |
download | CMake-73b13f56413cac74d90a2ab1938add3bbe740ecb.zip CMake-73b13f56413cac74d90a2ab1938add3bbe740ecb.tar.gz CMake-73b13f56413cac74d90a2ab1938add3bbe740ecb.tar.bz2 |
cmSystemTools: Rename ErrorCallback to MessageCallback
Clarify that it is the callback for the cmSystemTools::Message API.
Rename callback clients too.
Diffstat (limited to 'Source/CTest/cmCTestBuildAndTestHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestBuildAndTestHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx index 9a6b40e..6756dbf 100644 --- a/Source/CTest/cmCTestBuildAndTestHandler.cxx +++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx @@ -169,7 +169,7 @@ class cmCTestBuildAndTestCaptureRAII public: cmCTestBuildAndTestCaptureRAII(cmake& cm, std::string& s): CM(cm) { - cmSystemTools::SetErrorCallback(CMakeMessageCallback, &s); + cmSystemTools::SetMessageCallback(CMakeMessageCallback, &s); cmSystemTools::SetStdoutCallback(CMakeStdoutCallback, &s); this->CM.SetProgressCallback(CMakeProgressCallback, &s); } @@ -177,7 +177,7 @@ public: { this->CM.SetProgressCallback(0, 0); cmSystemTools::SetStdoutCallback(0, 0); - cmSystemTools::SetErrorCallback(0, 0); + cmSystemTools::SetMessageCallback(0, 0); } }; |