mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 09:46:05 +08:00
Follow up: fix for std::optional not having method value() on Mac
This commit is contained in:
parent
9598a52aee
commit
564a4c7c3b
@ -89,7 +89,7 @@ private:
|
|||||||
std::optional<EnumType> ret;
|
std::optional<EnumType> ret;
|
||||||
|
|
||||||
if (auto v = query(emap, str); v.has_value()) {
|
if (auto v = query(emap, str); v.has_value()) {
|
||||||
ret = v.value();
|
ret = *v;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user