From 8a77d3c16b30c3d550ccf6f16aba90e7c3b3505d Mon Sep 17 00:00:00 2001 From: Daniel Sipka Date: Mon, 12 Oct 2015 11:08:10 +0200 Subject: [PATCH] osx const error fix --- test/test_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_main.cpp b/test/test_main.cpp index 48d7c7a..8fc2cfe 100644 --- a/test/test_main.cpp +++ b/test/test_main.cpp @@ -20,7 +20,7 @@ using namespace mstchtest; #define SPECS_TEST(x) TEST_CASE("specs_" #x) { \ using boost::get; \ - mstch::node data = json::parse(x ## _json); \ + mstch::node data{json::parse(x ## _json)}; \ for (auto& test_item: get(get(data)["tests"])) {\ auto test = get(test_item); \ std::map partials; \