diff --git a/test/vmtester/tests.cpp b/test/vmtester/tests.cpp index 75f6d0a..178afc2 100644 --- a/test/vmtester/tests.cpp +++ b/test/vmtester/tests.cpp @@ -63,9 +63,9 @@ TEST_F(evmc_vm_test, version) TEST_F(evmc_vm_test, set_tracer) { - static constexpr auto tracer_callback = [](evmc_tracer_context*, size_t, evmc_status_code, - int64_t, size_t, const evmc_uint256be*, size_t, - size_t, size_t, const uint8_t*) noexcept {}; + static const auto tracer_callback = [](evmc_tracer_context*, size_t, evmc_status_code, int64_t, + size_t, const evmc_uint256be*, size_t, size_t, size_t, + const uint8_t*) noexcept {}; if (vm->set_tracer) vm->set_tracer(vm, tracer_callback, nullptr); }