diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-01-30 17:33:58 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-01-30 17:33:58 (GMT) |
commit | 1180fc87803b39cc03e503e4d08fa7d68656da8a (patch) | |
tree | 217027628d5cfa0e8f7ecf213486a0038d87f983 /Source/cmSystemTools.h | |
parent | 748d024551d8f447046363ad617fc72bdd977fd2 (diff) | |
download | CMake-1180fc87803b39cc03e503e4d08fa7d68656da8a.zip CMake-1180fc87803b39cc03e503e4d08fa7d68656da8a.tar.gz CMake-1180fc87803b39cc03e503e4d08fa7d68656da8a.tar.bz2 |
OutputCallback: Accept std::string argument
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 990c932..f39da64 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); |