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; }