Commit d98409ac authored by Dominik Charousset's avatar Dominik Charousset

Add missing function implementations

parent e1f69c79
......@@ -559,6 +559,14 @@ message::cli_arg::cli_arg(std::string nstr, std::string tstr,
// -- related non-members ------------------------------------------------------
error inspect(serializer& sink, message& msg) {
return msg.save(sink);
}
error inspect(deserializer& source, message& msg) {
return msg.load(source);
}
std::string to_string(const message& msg) {
if (msg.empty())
return "<empty-message>";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment