Browse Source

Trade: fix build on GCC 4.8.

pull/272/head
Vladimír Vondruš 8 years ago
parent
commit
23dd5f21f2
  1. 2
      src/Magnum/Trade/AnimationData.h

2
src/Magnum/Trade/AnimationData.h

@ -407,7 +407,7 @@ template<class V, class R = Animation::ResultOf<V>> MAGNUM_TRADE_EXPORT auto ani
#if !defined(CORRADE_NO_ASSERT) || defined(CORRADE_GRACEFUL_ASSERT)
namespace Implementation {
/* LCOV_EXCL_START */
template<class T> AnimationTrackType animationTypeFor();
template<class T> constexpr AnimationTrackType animationTypeFor();
template<> constexpr AnimationTrackType animationTypeFor<bool>() { return AnimationTrackType::Bool; }
template<> constexpr AnimationTrackType animationTypeFor<Float>() { return AnimationTrackType::Float; }
template<> constexpr AnimationTrackType animationTypeFor<UnsignedInt>() { return AnimationTrackType::UnsignedInt; }

Loading…
Cancel
Save