1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2024-11-23 00:33:44 +00:00

Build fix

This commit is contained in:
King_DuckZ 2018-10-13 16:46:56 +01:00
parent 09add53cf8
commit 8d9fefdc19

View file

@ -214,8 +214,9 @@ namespace kamokan {
if (raw_replies.front().is_error()) { if (raw_replies.front().is_error()) {
using std::string; using std::string;
retval.error = retval.error = boost::make_optional<string>(
boost::make_optional<string>(get_error_string(raw_replies.front()).message()); string(get_error_string(raw_replies.front()).message())
);
return retval; return retval;
} }
auto pastie_reply = get_array(raw_replies.front()); auto pastie_reply = get_array(raw_replies.front());