From 63fe39e76b03b7ab37a516889aaa45fba0d399f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 28 Apr 2015 22:01:04 +0200 Subject: [PATCH] GCC 4.6 compatibility: can't use both const and constexpr. --- src/Magnum/Test/TransformFeedbackGLTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Test/TransformFeedbackGLTest.cpp b/src/Magnum/Test/TransformFeedbackGLTest.cpp index 8989c0f68..9045217c8 100644 --- a/src/Magnum/Test/TransformFeedbackGLTest.cpp +++ b/src/Magnum/Test/TransformFeedbackGLTest.cpp @@ -122,7 +122,10 @@ void TransformFeedbackGLTest::label() { namespace { -constexpr const Vector2 inputData[] = { +#ifndef CORRADE_GCC46_COMPATIBILITY +constexpr +#endif +const Vector2 inputData[] = { {0.0f, 0.0f}, {-1.0f, 1.0f} };