diff --git a/libs/common/include/helpers/mathFuncs.h b/libs/common/include/helpers/mathFuncs.h index 33c715257..1aa6d351a 100644 --- a/libs/common/include/helpers/mathFuncs.h +++ b/libs/common/include/helpers/mathFuncs.h @@ -86,7 +86,7 @@ constexpr T inverseLerp(const T startVal, const T endVal, const T value) noexcep /// Arithmetically round floating point values to integers template::value && std::is_floating_point::value, int> = 0> -inline IntType iround(const FloatType val) noexcept +IntType iround(const FloatType val) noexcept { RTTR_Assert(std::isfinite(val));