diff --git a/src/Math/Test/VectorTest.cpp b/src/Math/Test/VectorTest.cpp index ad7cc83c4..3b45e58da 100644 --- a/src/Math/Test/VectorTest.cpp +++ b/src/Math/Test/VectorTest.cpp @@ -147,16 +147,16 @@ void VectorTest::construct() { CORRADE_COMPARE(a, Vector4(1.0f, 2.0f, -3.0f, 4.5f)); } -void VectorTest::constructDefault() { - constexpr Vector4 a; - CORRADE_COMPARE(a, Vector4(0.0f, 0.0f, 0.0f, 0.0f)); -} - void VectorTest::constructFromData() { Float data[] = { 1.0f, 2.0f, 3.0f, 4.0f }; CORRADE_COMPARE(Vector4::from(data), Vector4(1.0f, 2.0f, 3.0f, 4.0f)); } +void VectorTest::constructDefault() { + constexpr Vector4 a; + CORRADE_COMPARE(a, Vector4(0.0f, 0.0f, 0.0f, 0.0f)); +} + void VectorTest::constructOneValue() { #ifndef CORRADE_GCC46_COMPATIBILITY constexpr Vector4 a(7.25f);