From 0871bc79550193098530850866b6f50f60cb64a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 17 Mar 2013 22:19:40 +0100 Subject: [PATCH] GCC 4.4 compatibility: various initializer list issues. --- src/TextureTools/Test/AtlasTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TextureTools/Test/AtlasTest.cpp b/src/TextureTools/Test/AtlasTest.cpp index aa653ad28..553906193 100644 --- a/src/TextureTools/Test/AtlasTest.cpp +++ b/src/TextureTools/Test/AtlasTest.cpp @@ -48,7 +48,7 @@ AtlasTest::AtlasTest() { } void AtlasTest::create() { - std::vector atlas = TextureTools::atlas({64, 64}, { + std::vector atlas = TextureTools::atlas({64, 64}, std::vector{ {12, 18}, {32, 15}, {23, 25} @@ -62,7 +62,7 @@ void AtlasTest::create() { } void AtlasTest::createPadding() { - std::vector atlas = TextureTools::atlas({64, 64}, { + std::vector atlas = TextureTools::atlas({64, 64}, std::vector{ {8, 16}, {28, 13}, {19, 23} @@ -84,7 +84,7 @@ void AtlasTest::createTooSmall() { std::ostringstream o; Error::setOutput(&o); - std::vector atlas = TextureTools::atlas({64, 32}, { + std::vector atlas = TextureTools::atlas({64, 32}, std::vector{ {8, 16}, {21, 13}, {19, 29}