1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-14 08:34:26 +00:00

Fix build on macOS

std::optional<T>::value() not yet available
This commit is contained in:
Lukas Matena
2020-10-13 13:50:57 +02:00
parent 571fbd23c0
commit 04e18025f9
+1 -1
View File
@@ -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;
}