From d3dccd8720b5f0161f3f6188749cd47e6cf97e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 14 Dec 2013 16:09:31 +0100 Subject: [PATCH] GCC 4.4 compatibility: some explicit typing is needed. --- src/Math/Test/FunctionsTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Math/Test/FunctionsTest.cpp b/src/Math/Test/FunctionsTest.cpp index 692d2e609..ec407c92e 100644 --- a/src/Math/Test/FunctionsTest.cpp +++ b/src/Math/Test/FunctionsTest.cpp @@ -141,7 +141,7 @@ void FunctionsTest::minmax() { const Vector3 a(5.0f, -4.0f, 1.0f); const Vector3 b(7.0f, -3.0f, 1.0f); - const std::pair expectedVector{{5.0f, -4.0f, 1.0f}, {7.0f, -3.0f, 1.0f}}; + const std::pair expectedVector{Vector3(5.0f, -4.0f, 1.0f), Vector3(7.0f, -3.0f, 1.0f)}; CORRADE_COMPARE_AS(Math::minmax(a, b), expectedVector, std::pair); CORRADE_COMPARE_AS(Math::minmax(b, a), expectedVector, std::pair); }