tracing: Fix test compilation with VS 2015
@@ -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);
}
