mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Fix build on macOS
std::optional<T>::value() not yet available
This commit is contained in:
1 parent
571fbd23c0
commit
04e18025f9
1 file changed
+1
-1
@@ -51,7 +51,7 @@ namespace instance_check_internal
|
||||
}
|
||||
ret.cl_string = escape_strings_cstyle(arguments);
|
||||
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;
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user