tracing: Fix test compilation with VS 2015

This commit is contained in:
Paweł Bylica 2018-07-25 18:17:06 +02:00
parent e93da0e86e
commit 9bda457ddd
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}