diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-06 20:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-07 18:41:27 (GMT) |
commit | 82edd98300b9d050dd28fdfa1e6ea7b18ecca22c (patch) | |
tree | a0bd32bc16a5793f9729cfb82872e4df8f47ad78 /Source/CursesDialog/cmCursesMainForm.cxx | |
parent | 062cfd991faac000d484c74e5af7d65726c655dc (diff) | |
download | CMake-82edd98300b9d050dd28fdfa1e6ea7b18ecca22c.zip CMake-82edd98300b9d050dd28fdfa1e6ea7b18ecca22c.tar.gz CMake-82edd98300b9d050dd28fdfa1e6ea7b18ecca22c.tar.bz2 |
cmSystemTools: MessageCallback and Message() accept std::string argument
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index 8ca7802..f6a1a57 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/Source/CursesDialog/cmCursesMainForm.cxx @@ -647,7 +647,8 @@ int cmCursesMainForm::Generate() return 0; } -void cmCursesMainForm::AddError(const char* message, const char* /*unused*/) +void cmCursesMainForm::AddError(const std::string& message, + const char* /*unused*/) { this->Errors.emplace_back(message); } |