Merge pull request #12433 from ethereum/removeConstexpr

Remove constexpr.
This commit is contained in:
chriseth
2021-12-21 16:03:58 +01:00
committed by GitHub
+1 -1
View File
@@ -72,7 +72,7 @@ optional<LineColumn> parseLineColumn(Json::Value const& _lineColumn)
return nullopt;
}
constexpr int toDiagnosticSeverity(Error::Type _errorType)
int toDiagnosticSeverity(Error::Type _errorType)
{
// 1=Error, 2=Warning, 3=Info, 4=Hint
switch (Error::errorSeverity(_errorType))