diff options
author | Brad King <brad.king@kitware.com> | 2019-01-31 16:13:27 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-31 16:13:34 (GMT) |
commit | fb823855158855b6c967ef8dc7947762c097f914 (patch) | |
tree | 16c68300e904b77ca39e06572ef12886ae01e866 /Source/cmSystemTools.h | |
parent | 24bee427b5da710c5f9941f5cddb455df1a2ea82 (diff) | |
parent | 1180fc87803b39cc03e503e4d08fa7d68656da8a (diff) | |
download | CMake-fb823855158855b6c967ef8dc7947762c097f914.zip CMake-fb823855158855b6c967ef8dc7947762c097f914.tar.gz CMake-fb823855158855b6c967ef8dc7947762c097f914.tar.bz2 |
Merge topic 'std-string-callback'
1180fc8780 OutputCallback: Accept std::string argument
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: vvs31415 <vstakhovsky@fastmail.com>
Merge-request: !2891
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index a6f68d3..fcb2cce 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -80,7 +80,7 @@ public: Message(m.c_str(), title); } - using OutputCallback = std::function<void(const char*, size_t)>; + using OutputCallback = std::function<void(std::string const&)>; ///! Send a string to stdout static void Stdout(const std::string& s); |