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
commit ef6dd2ec50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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))