From c374d27eecbd14e26d1bcb74c8902797d0008691 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 20 Dec 2021 17:29:44 +0100 Subject: [PATCH] Remove constexpr. --- libsolidity/lsp/LanguageServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsolidity/lsp/LanguageServer.cpp b/libsolidity/lsp/LanguageServer.cpp index 586220df1..254706cc6 100644 --- a/libsolidity/lsp/LanguageServer.cpp +++ b/libsolidity/lsp/LanguageServer.cpp @@ -72,7 +72,7 @@ optional 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))