Skip to content

Commit 5f12c9c

Browse files
committed
remove byte
1 parent bffd5b5 commit 5f12c9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libcxx/include/__flat_set/flat_set.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include <__compare/synth_three_way.h>
2626
#include <__concepts/swappable.h>
2727
#include <__config>
28-
#include <__cstddef/byte.h>
2928
#include <__cstddef/ptrdiff_t.h>
3029
#include <__flat_map/sorted_unique.h>
3130
#include <__flat_set/ra_iterator.h>
@@ -799,7 +798,7 @@ flat_set(sorted_unique_t, _InputIterator, _InputIterator, _Compare = _Compare())
799798

800799
template <ranges::input_range _Range,
801800
class _Compare = less<ranges::range_value_t<_Range>>,
802-
class _Allocator = allocator<byte>,
801+
class _Allocator = allocator<ranges::range_value_t<_Range>>,
803802
class = __enable_if_t<!__is_allocator<_Compare>::value && __is_allocator<_Allocator>::value>>
804803
flat_set(from_range_t, _Range&&, _Compare = _Compare(), _Allocator = _Allocator()) -> flat_set<
805804
ranges::range_value_t<_Range>,

0 commit comments

Comments
 (0)