Skip to content

Commit fd4b90b

Browse files
Fix allocator type given to std::vector<bool>.
1 parent 25ae2d6 commit fd4b90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/containers/sequences/vector.bool/max_size.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ TEST_CONSTEXPR_CXX20 bool tests() {
7171
// Test with various allocators and different `size_type`s
7272
{
7373
test(std::vector<bool>());
74-
test(std::vector<bool, std::allocator<int> >());
74+
test(std::vector<bool, std::allocator<bool> >());
7575
test(std::vector<bool, min_allocator<bool> >());
7676
test(std::vector<bool, test_allocator<bool> >(test_allocator<bool>(1)));
7777
test(std::vector<bool, other_allocator<bool> >(other_allocator<bool>(5)));

0 commit comments

Comments
 (0)