diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-01-29 14:57:24 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-01-29 15:35:53 (GMT) |
commit | 8c92db829b41243790c7dcc5300227f591a727a8 (patch) | |
tree | af9791b3214748870159c8157e70efdf5400b4d7 /Source/cmServer.cxx | |
parent | bcee24aecc1eaf6615eac9f24ae06acdf38845d3 (diff) | |
download | CMake-8c92db829b41243790c7dcc5300227f591a727a8.zip CMake-8c92db829b41243790c7dcc5300227f591a727a8.tar.gz CMake-8c92db829b41243790c7dcc5300227f591a727a8.tar.bz2 |
MessageCallback: Remove unused bool& argument
Diffstat (limited to 'Source/cmServer.cxx')
-rw-r--r-- | Source/cmServer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmServer.cxx b/Source/cmServer.cxx index 44826fa..e740c05 100644 --- a/Source/cmServer.cxx +++ b/Source/cmServer.cxx @@ -97,8 +97,8 @@ void cmServer::ProcessRequest(cmConnection* connection, } cmSystemTools::SetMessageCallback( - [&request](const char* msg, const char* title, bool& cancel) { - reportMessage(msg, title, cancel, request); + [&request](const char* msg, const char* title) { + reportMessage(msg, title, request); }); if (this->Protocol) { @@ -166,7 +166,7 @@ void cmServer::reportProgress(const char* msg, float progress, } void cmServer::reportMessage(const char* msg, const char* title, - bool& /*cancel*/, const cmServerRequest& request) + const cmServerRequest& request) { assert(msg); std::string titleString; |