mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
OutputCallback: Accept std::string argument
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user