From 34ba40ca622a7362eb48618deae3c91eac4b6f9a Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Sun, 1 Feb 2026 02:55:28 +0100 Subject: Download all the cards with API --- battleNetApi/tests/tests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'battleNetApi/tests/tests.cpp') diff --git a/battleNetApi/tests/tests.cpp b/battleNetApi/tests/tests.cpp index bafcdcb..d3321d3 100644 --- a/battleNetApi/tests/tests.cpp +++ b/battleNetApi/tests/tests.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include @@ -117,7 +116,7 @@ TEST_CASE("Merge two card lists from two page requests", "[Merge pages]") { json::reference aMergedCards = kFirstPage["cards"]; for (auto &card : kSecondPage["cards"]) { - aMergedCards.push_back(card); + aMergedCards.push_back(std::move(card)); } REQUIRE(aMergedCards.size() == 32); std::ofstream aOutputJson("build/output_pages_merge.json"); -- cgit v1.2.3