summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-31 16:13:27 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-31 16:13:34 (GMT)
commitfb823855158855b6c967ef8dc7947762c097f914 (patch)
tree16c68300e904b77ca39e06572ef12886ae01e866 /Source/cmSystemTools.h
parent24bee427b5da710c5f9941f5cddb455df1a2ea82 (diff)
parent1180fc87803b39cc03e503e4d08fa7d68656da8a (diff)
downloadCMake-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.h2
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);