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/cmSystemTools.h | |
parent | bcee24aecc1eaf6615eac9f24ae06acdf38845d3 (diff) | |
download | CMake-8c92db829b41243790c7dcc5300227f591a727a8.zip CMake-8c92db829b41243790c7dcc5300227f591a727a8.tar.gz CMake-8c92db829b41243790c7dcc5300227f591a727a8.tar.bz2 |
MessageCallback: Remove unused bool& argument
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 754929d..bada4e3 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -56,12 +56,11 @@ public: */ static std::string TrimWhitespace(const std::string& s); - using MessageCallback = std::function<void(const char*, const char*, bool&)>; + using MessageCallback = std::function<void(const char*, const char*)>; /** * Set the function used by GUIs to display error messages * Function gets passed: message as a const char*, - * title as a const char*, and a reference to bool that when - * set to false, will disable further messages (cancel). + * title as a const char*. */ static void SetMessageCallback(MessageCallback f); |