osx const error fix
This commit is contained in:
parent
96a65e43d6
commit
8a77d3c16b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ using namespace mstchtest;
|
||||||
|
|
||||||
#define SPECS_TEST(x) TEST_CASE("specs_" #x) { \
|
#define SPECS_TEST(x) TEST_CASE("specs_" #x) { \
|
||||||
using boost::get; \
|
using boost::get; \
|
||||||
mstch::node data = json::parse<mstch::node,mstch::map,mstch::array>(x ## _json); \
|
mstch::node data{json::parse<mstch::node,mstch::map,mstch::array>(x ## _json)}; \
|
||||||
for (auto& test_item: get<mstch::array>(get<mstch::map>(data)["tests"])) {\
|
for (auto& test_item: get<mstch::array>(get<mstch::map>(data)["tests"])) {\
|
||||||
auto test = get<mstch::map>(test_item); \
|
auto test = get<mstch::map>(test_item); \
|
||||||
std::map<std::string,std::string> partials; \
|
std::map<std::string,std::string> partials; \
|
||||||
|
|
Loading…
Reference in a new issue