From 3f14a09e73fc4afe8ea31ea76d19537db78fc2a3 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 7 Dec 2016 16:43:55 +0100 Subject: [PATCH] :green_heart: another try to fix the AppVeyor build --- test/src/unit-msgpack.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/src/unit-msgpack.cpp b/test/src/unit-msgpack.cpp index b242c93a9..e55be1a6a 100644 --- a/test/src/unit-msgpack.cpp +++ b/test/src/unit-msgpack.cpp @@ -225,10 +225,13 @@ TEST_CASE("MessagePack") SECTION("-32769..-2147483648") { - for (auto i : std::vector( - { - -32769, -65536, -77777, -1048576, -2147483648 - })) + std::vector numbers; + numbers.push_back(-32769); + numbers.push_back(-65536); + numbers.push_back(-77777); + numbers.push_back(-1048576); + numbers.push_back(-2147483648); + for (auto i : numbers) { CAPTURE(i); -- GitLab