Don't use removed-in-C++20 allocator parts in CustomAllocator tests

This commit is contained in:
Martin Hořeňovský 2021-06-07 17:44:39 +02:00
parent 9ac8cad2d1
commit fa31d58934
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -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]") {