Skip to content

Commit

Permalink
Don't use removed-in-C++20 allocator parts in CustomAllocator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Jun 7, 2021
1 parent 9ac8cad commit fa31d58
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/SelfTest/UsageTests/Matchers.tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,8 @@ namespace { namespace MatchersTests {

~CustomAllocator() = default;

using std::allocator<T>::address;
using std::allocator<T>::allocate;
using std::allocator<T>::construct;
using std::allocator<T>::deallocate;
using std::allocator<T>::max_size;
using std::allocator<T>::destroy;
};

TEST_CASE("Vector matchers", "[matchers][vector]") {
Expand Down

0 comments on commit fa31d58

Please sign in to comment.