mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-06-07 00:51:41 +00:00
Build fix
This commit is contained in:
parent
5114bd4efb
commit
c1224d9a7f
1 changed files with 3 additions and 1 deletions
|
@ -213,8 +213,10 @@ namespace kamokan {
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
if (raw_replies.front().is_error()) {
|
if (raw_replies.front().is_error()) {
|
||||||
|
using std::string;
|
||||||
|
using boost::make_optional;
|
||||||
retval.error =
|
retval.error =
|
||||||
boost::make_optional<std::string>(get_error_string(raw_replies.front()).message());
|
make_optional<string>(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());
|
||||||
|
|
Loading…
Add table
Reference in a new issue