Skip to content

Commit

Permalink
Fixes more forwarding calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
mordante committed Apr 20, 2024
1 parent 84f547d commit 4838909
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libcxx/include/__numeric/saturation_arithmetic.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,22 +118,22 @@ _LIBCPP_HIDE_FROM_ABI constexpr _Tp add_sat(_Tp __x, _Tp __y) noexcept {

template <__libcpp_integer _Tp>
_LIBCPP_HIDE_FROM_ABI constexpr _Tp sub_sat(_Tp __x, _Tp __y) noexcept {
return std::sub_sat(__x, __y);
return std::__sub_sat(__x, __y);
}

template <__libcpp_integer _Tp>
_LIBCPP_HIDE_FROM_ABI constexpr _Tp mul_sat(_Tp __x, _Tp __y) noexcept {
return std::mul_sat(__x, __y);
return std::__mul_sat(__x, __y);
}

template <__libcpp_integer _Tp>
_LIBCPP_HIDE_FROM_ABI constexpr _Tp div_sat(_Tp __x, _Tp __y) noexcept {
return std::div_sat(__x, __y);
return std::__div_sat(__x, __y);
}

template <__libcpp_integer _Rp, __libcpp_integer _Tp>
_LIBCPP_HIDE_FROM_ABI constexpr _Rp saturate_cast(_Tp __x) noexcept {
return std::saturate_cast<_Rp>(__x);
return std::__saturate_cast<_Rp>(__x);
}

#endif // _LIBCPP_STD_VER >= 26
Expand Down

0 comments on commit 4838909

Please sign in to comment.