From b94f53879346426bd891b9cc9366f2481e5fda4b Mon Sep 17 00:00:00 2001 From: Daniel Sipka Date: Mon, 12 Oct 2015 10:29:26 +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 c9f52e6..f1cb236 100644 --- a/test/test_main.cpp +++ b/test/test_main.cpp @@ -27,7 +27,7 @@ using namespace mstchtest; if(test.count("partials")) \ for(auto& partial_item: get(test["partials"])) \ partials.insert(std::make_pair(partial_item.first, get(partial_item.second))); \ - for(auto& data_item: get(test["data"])) \ + for(std::pair& data_item: get(test["data"])) \ if(data_item.first == "lambda") \ data_item.second = specs_lambdas[get(test["name"])]; \ SECTION(get(test["name"])) \