Increase use of C++ constexpr constant expressions in code base as described in issue #7720

This commit is contained in:
benldrmn
2021-08-31 15:03:59 +02:00
committed by Marenz
parent 13691dfbaa
commit 58e4cc62e0
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -856,7 +856,7 @@ void EVMHostPrinter::selfdestructRecords()
void EVMHostPrinter::callRecords()
{
static const auto callKind = [](evmc_call_kind _kind) -> string
static auto constexpr callKind = [](evmc_call_kind _kind) -> string
{
switch (_kind)
{