Skip to content

Commit ef6dd2e

Browse files
authored
Merge pull request #12433 from ethereum/removeConstexpr
Remove constexpr.
2 parents b65e093 + c374d27 commit ef6dd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/lsp/LanguageServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ optional<LineColumn> parseLineColumn(Json::Value const& _lineColumn)
7272
return nullopt;
7373
}
7474

75-
constexpr int toDiagnosticSeverity(Error::Type _errorType)
75+
int toDiagnosticSeverity(Error::Type _errorType)
7676
{
7777
// 1=Error, 2=Warning, 3=Info, 4=Hint
7878
switch (Error::errorSeverity(_errorType))

0 commit comments

Comments
 (0)