From 23dd5f21f2ac7433c33804b2a06ccf8fe3ae49c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 8 Aug 2018 09:33:40 +0200 Subject: [PATCH] Trade: fix build on GCC 4.8. --- src/Magnum/Trade/AnimationData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Trade/AnimationData.h b/src/Magnum/Trade/AnimationData.h index 5addfe868..d8196cd3d 100644 --- a/src/Magnum/Trade/AnimationData.h +++ b/src/Magnum/Trade/AnimationData.h @@ -407,7 +407,7 @@ template> MAGNUM_TRADE_EXPORT auto ani #if !defined(CORRADE_NO_ASSERT) || defined(CORRADE_GRACEFUL_ASSERT) namespace Implementation { /* LCOV_EXCL_START */ - template AnimationTrackType animationTypeFor(); + template constexpr AnimationTrackType animationTypeFor(); template<> constexpr AnimationTrackType animationTypeFor() { return AnimationTrackType::Bool; } template<> constexpr AnimationTrackType animationTypeFor() { return AnimationTrackType::Float; } template<> constexpr AnimationTrackType animationTypeFor() { return AnimationTrackType::UnsignedInt; }