File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -763,9 +763,9 @@ class _LIBCPP_TEMPLATE_VIS vector {
763
763
__move_assign_alloc (__c, integral_constant<bool , __alloc_traits::propagate_on_container_move_assignment::value>());
764
764
}
765
765
766
- [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI void __throw_length_error () const { std::__throw_length_error (" vector" ); }
766
+ [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI static void __throw_length_error () { std::__throw_length_error (" vector" ); }
767
767
768
- [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI void __throw_out_of_range () const { std::__throw_out_of_range (" vector" ); }
768
+ [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI static void __throw_out_of_range () { std::__throw_out_of_range (" vector" ); }
769
769
770
770
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __copy_assign_alloc (const vector& __c, true_type) {
771
771
if (__alloc () != __c.__alloc ()) {
Original file line number Diff line number Diff line change @@ -378,9 +378,9 @@ class _LIBCPP_TEMPLATE_VIS vector<bool, _Allocator> {
378
378
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 bool __invariants () const ;
379
379
380
380
private:
381
- [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI void __throw_length_error () const { std::__throw_length_error (" vector" ); }
381
+ [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI static void __throw_length_error () { std::__throw_length_error (" vector" ); }
382
382
383
- [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI void __throw_out_of_range () const { std::__throw_out_of_range (" vector" ); }
383
+ [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI static void __throw_out_of_range () { std::__throw_out_of_range (" vector" ); }
384
384
385
385
template <class _InputIterator , class _Sentinel >
386
386
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void
Original file line number Diff line number Diff line change @@ -2258,11 +2258,11 @@ private:
2258
2258
return std::__is_pointer_in_range (data (), data () + size () + 1 , std::addressof (__v));
2259
2259
}
2260
2260
2261
- [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI void __throw_length_error () const {
2261
+ [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI static void __throw_length_error () {
2262
2262
std::__throw_length_error (" basic_string" );
2263
2263
}
2264
2264
2265
- [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI void __throw_out_of_range () const {
2265
+ [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI static void __throw_out_of_range () {
2266
2266
std::__throw_out_of_range (" basic_string" );
2267
2267
}
2268
2268
You can’t perform that action at this time.
0 commit comments