diff --git a/test/src/unit-constructor1.cpp b/test/src/unit-constructor1.cpp index 446bb0b3f..5130e505c 100644 --- a/test/src/unit-constructor1.cpp +++ b/test/src/unit-constructor1.cpp @@ -1120,7 +1120,7 @@ TEST_CASE("constructors") SECTION("constructor with implicit types (array)") { - json j {std::move(source)}; + json j {std::move(source), {}}; CHECK(&j[0][0] == source_addr); } @@ -1132,7 +1132,7 @@ TEST_CASE("constructors") SECTION("assignment with implicit types (array)") { - json j = {std::move(source)}; + json j = {std::move(source), {}}; CHECK(&j[0][0] == source_addr); }