diff --git a/src/Magnum/Animation/Interpolation.cpp b/src/Magnum/Animation/Interpolation.cpp index 225424a63..90d0c636e 100644 --- a/src/Magnum/Animation/Interpolation.cpp +++ b/src/Magnum/Animation/Interpolation.cpp @@ -73,6 +73,7 @@ template auto TypeTraits, Math::Complex>::interpola } CORRADE_ASSERT(false, "Animation::interpolatorFor(): can't deduce interpolator function for" << interpolation, {}); + CORRADE_ASSERT_UNREACHABLE(); } template auto TypeTraits, Math::Quaternion>::interpolator(Interpolation interpolation) -> Interpolator { @@ -85,6 +86,7 @@ template auto TypeTraits, Math::Quaternion>::int } CORRADE_ASSERT(false, "Animation::interpolatorFor(): can't deduce interpolator function for" << interpolation, {}); + CORRADE_ASSERT_UNREACHABLE(); } template auto TypeTraits, Math::DualQuaternion>::interpolator(Interpolation interpolation) -> Interpolator { @@ -97,6 +99,7 @@ template auto TypeTraits, Math::DualQuaternion< } CORRADE_ASSERT(false, "Animation::interpolatorFor(): can't deduce interpolator function for" << interpolation, {}); + CORRADE_ASSERT_UNREACHABLE(); } template auto TypeTraits, T>::interpolator(Interpolation interpolation) -> Interpolator { @@ -109,6 +112,7 @@ template auto TypeTraits, T>::interpolator(Interp } CORRADE_ASSERT(false, "Animation::interpolatorFor(): can't deduce interpolator function for" << interpolation, {}); + CORRADE_ASSERT_UNREACHABLE(); } template struct MAGNUM_EXPORT TypeTraits, Math::Complex>;