Fix build on macOS
std::optional<T>::value() not yet available
This commit is contained in:
parent
571fbd23c0
commit
04e18025f9
@ -51,7 +51,7 @@ namespace instance_check_internal
|
|||||||
}
|
}
|
||||||
ret.cl_string = escape_strings_cstyle(arguments);
|
ret.cl_string = escape_strings_cstyle(arguments);
|
||||||
BOOST_LOG_TRIVIAL(debug) << "single instance: " <<
|
BOOST_LOG_TRIVIAL(debug) << "single instance: " <<
|
||||||
(ret.should_send.has_value() ? (ret.should_send.value() ? "true" : "false") : "undefined") <<
|
(ret.should_send.has_value() ? (*ret.should_send ? "true" : "false") : "undefined") <<
|
||||||
". other params: " << ret.cl_string;
|
". other params: " << ret.cl_string;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user