diff --git a/stl/inc/cmath b/stl/inc/cmath index 86f61c581ca..6137ec53fa4 100644 --- a/stl/inc/cmath +++ b/stl/inc/cmath @@ -1384,18 +1384,16 @@ _NODISCARD /* constexpr */ _Ty _Common_lerp(const _Ty _ArgA, const _Ty _ArgB, co // As of 2019-06-17 it is unclear whether the "sufficient additional overloads" clause is intended to target lerp; // LWG-3223 is pending. -_NODISCARD /* constexpr */ inline float lerp(const float _ArgA, const float _ArgB, const float _ArgT) noexcept -/* strengthened */ { +_NODISCARD /* constexpr */ inline float lerp(const float _ArgA, const float _ArgB, const float _ArgT) noexcept { return _Common_lerp(_ArgA, _ArgB, _ArgT); } -_NODISCARD /* constexpr */ inline double lerp(const double _ArgA, const double _ArgB, const double _ArgT) noexcept -/* strengthened */ { +_NODISCARD /* constexpr */ inline double lerp(const double _ArgA, const double _ArgB, const double _ArgT) noexcept { return _Common_lerp(_ArgA, _ArgB, _ArgT); } _NODISCARD /* constexpr */ inline long double lerp( - const long double _ArgA, const long double _ArgB, const long double _ArgT) noexcept /* strengthened */ { + const long double _ArgA, const long double _ArgB, const long double _ArgT) noexcept { return _Common_lerp(_ArgA, _ArgB, _ArgT); } #endif // _HAS_CXX20