diff --git a/libcxx/include/list b/libcxx/include/list index 37bed3cd89fc9..77b988cd1ef91 100644 --- a/libcxx/include/list +++ b/libcxx/include/list @@ -1779,17 +1779,6 @@ list<_Tp, _Alloc>::splice(const_iterator __p, list& __c, const_iterator __i) } } -template -_LIBCPP_HIDE_FROM_ABI -bool __iterator_in_range(_Iterator __first, _Iterator __last, _Iterator __it) { - for (_Iterator __p = __first; __p != __last; ++__p) { - if (__p == __it) { - return true; - } - } - return false; -} - template void list<_Tp, _Alloc>::splice(const_iterator __p, list& __c, const_iterator __f, const_iterator __l)