Skip to content

Commit

Permalink
Update libcxx/include/__numeric/saturation_arithmetic.h
Browse files Browse the repository at this point in the history
Co-authored-by: Hristo Hristov <zingam@outlook.com>
  • Loading branch information
mordante and Zingam committed Apr 23, 2024
1 parent 77f45c0 commit 13b19d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/include/__numeric/saturation_arithmetic.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr _Rp __saturate_cast(_Tp __x) noexcept {

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

template <__libcpp_integer _Tp>
Expand Down

0 comments on commit 13b19d2

Please sign in to comment.