Skip to content

Commit ffa02c5

Browse files
committed
CI
1 parent 5d6ec51 commit ffa02c5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

libcxx/include/__flat_set/flat_set.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@
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)) {

libcxx/include/__flat_set/ra_iterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)