mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-12-23 21:25:43 +00:00
Force use of boost::make_optional.
This commit is contained in:
parent
026df0f35a
commit
09add53cf8
1 changed files with 1 additions and 2 deletions
|
@ -214,9 +214,8 @@ namespace kamokan {
|
|||
|
||||
if (raw_replies.front().is_error()) {
|
||||
using std::string;
|
||||
using boost::make_optional;
|
||||
retval.error =
|
||||
make_optional<string>(get_error_string(raw_replies.front()).message());
|
||||
boost::make_optional<string>(get_error_string(raw_replies.front()).message());
|
||||
return retval;
|
||||
}
|
||||
auto pastie_reply = get_array(raw_replies.front());
|
||||
|
|
Loading…
Reference in a new issue