From bba3755da13497ed714bb2ce2720d019b151d2d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 6 Apr 2013 00:44:44 +0200 Subject: [PATCH] GCC 4.8 compilation fixes. --- src/Math/Algorithms/Svd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Math/Algorithms/Svd.h b/src/Math/Algorithms/Svd.h index 51ef991ae..8249e0bbb 100644 --- a/src/Math/Algorithms/Svd.h +++ b/src/Math/Algorithms/Svd.h @@ -49,7 +49,7 @@ template T pythagoras(T a, T b) { return absb*std::sqrt(T(1) + Math::pow<2>(absa/absb)); } -template T smallestDelta(); +template constexpr T smallestDelta(); template<> inline constexpr Float smallestDelta() { return 1.0e-32; } #ifndef MAGNUM_TARGET_GLES template<> inline constexpr Double smallestDelta() { return 1.0e-64; }