From 5f104ec48476b52aed7e53fa39e4a8b133786fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 22 Jul 2019 16:03:43 +0200 Subject: [PATCH] tmp: Compilation fixes --- test/unittests/test_cpp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unittests/test_cpp.cpp b/test/unittests/test_cpp.cpp index 21a5b1ce9..bdf9abbd1 100644 --- a/test/unittests/test_cpp.cpp +++ b/test/unittests/test_cpp.cpp @@ -312,8 +312,8 @@ TEST(cpp, host) auto* host_context = example_host_create_context(); auto host = evmc::HostContext{host_context}; - auto a = evmc::address{{1}}; - auto v = evmc::bytes32{{7, 7, 7}}; + constexpr auto a = evmc::address{{{1}}}; + constexpr auto v = evmc::bytes32{{{7, 7, 7}}}; EXPECT_FALSE(host.account_exists(a));