Skip to content

Commit c374d27

Browse files
committed
Remove constexpr.
1 parent 08abab1 commit c374d27

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)