From 6e177780b0657c785082eaff7fc35ba40f3397f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 26 Mar 2015 00:30:31 +0100 Subject: [PATCH] Math: fixed test compilation with libc++. Apparently std::forward() is constexpr only in C++14. Heh. --- src/Magnum/Math/Test/VectorTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Math/Test/VectorTest.cpp b/src/Magnum/Math/Test/VectorTest.cpp index 7d8f90206..b03867ffc 100644 --- a/src/Magnum/Math/Test/VectorTest.cpp +++ b/src/Magnum/Math/Test/VectorTest.cpp @@ -449,7 +449,7 @@ void VectorTest::angle() { template class BasicVec2: public Math::Vector<2, T> { public: - template constexpr BasicVec2(U&&... args): Math::Vector<2, T>{std::forward(args)...} {} + template constexpr BasicVec2(U&&... args): Math::Vector<2, T>{args...} {} MAGNUM_VECTOR_SUBCLASS_IMPLEMENTATION(2, BasicVec2) };