Follow up: fix for std::optional not having method value() on Mac

This commit is contained in:
tamasmeszaros 2023-10-05 16:38:23 +02:00
parent 9598a52aee
commit 564a4c7c3b

View File

@ -89,7 +89,7 @@ private:
std::optional<EnumType> ret;
if (auto v = query(emap, str); v.has_value()) {
ret = v.value();
ret = *v;
}
return ret;