diff --git a/liblangutil/Exceptions.cpp b/liblangutil/Exceptions.cpp index dd0de9d0a..058ca4175 100644 --- a/liblangutil/Exceptions.cpp +++ b/liblangutil/Exceptions.cpp @@ -80,5 +80,5 @@ static std::optional severityFromString(std::string _severity) _severity[0] = toupper(_severity[0]); - return std::make_optional(_severity).has_value() ? std::optional(_severity).value() : std::nullopt; + return std::make_optional(_severity).has_value() ? std::optional(_severity).value() : std::nullopt; } \ No newline at end of file