Fix compilation with VS 2015

This commit is contained in:
Paweł Bylica 2019-01-22 14:53:26 +01:00
parent b0ae85ebbf
commit 553003ee3b
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ TEST(cpp, vm)
TEST(cpp, vm_set_option)
{
auto raw_instance = evmc_instance{};
evmc_instance raw_instance = {EVMC_ABI_VERSION, "", "", nullptr,
nullptr, nullptr, nullptr, nullptr};
raw_instance.destroy = [](evmc_instance*) {};
auto vm = evmc::vm{&raw_instance};