File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
libcxx/include/__flat_set Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5454#include < __type_traits/container_traits.h>
5555#include < __type_traits/invoke.h>
5656#include < __type_traits/is_allocator.h>
57+ #include < __type_traits/is_const.h>
5758#include < __type_traits/is_nothrow_constructible.h>
5859#include < __type_traits/is_same.h>
59- #include " __type_traits/remove_reference.h"
60+ #include < __type_traits/remove_reference.h>
6061#include < __utility/as_const.h>
6162#include < __utility/exception_guard.h>
6263#include < __utility/move.h>
@@ -666,7 +667,7 @@ class flat_set {
666667
667668 template <class _Self , class _Kp >
668669 _LIBCPP_HIDE_FROM_ABI static auto __equal_range_impl (_Self&& __self, const _Kp& __key) {
669- using __iter = _If<__is_const ( __libcpp_remove_reference_t <_Self>) , const_iterator, iterator>;
670+ using __iter = _If<is_const_v< __libcpp_remove_reference_t <_Self>> , const_iterator, iterator>;
670671 auto __it = ranges::lower_bound (__self.__keys_ , __key, __self.__compare_ );
671672 auto __last = __self.__keys_ .end ();
672673 if (__it == __last || __self.__compare_ (__key, *__it)) {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ struct __ra_iterator {
5252
5353 _LIBCPP_HIDE_FROM_ABI explicit __ra_iterator (_Iterator __iter) : __iter_(std::move(__iter)) {}
5454
55- _Iterator __base () const noexcept (noexcept (_Iterator(__iter_))) { return __iter_; }
55+ _LIBCPP_HIDE_FROM_ABI _Iterator __base () const noexcept (noexcept (_Iterator(__iter_))) { return __iter_; }
5656
5757 _LIBCPP_HIDE_FROM_ABI decltype (auto ) operator*() const { return *__iter_; }
5858 _LIBCPP_HIDE_FROM_ABI decltype (auto ) operator->() const
You can’t perform that action at this time.
0 commit comments