mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Don't use removed-in-C++20 allocator parts in CustomAllocator tests
This commit is contained in:
parent
9ac8cad2d1
commit
fa31d58934
@ -245,12 +245,8 @@ namespace { namespace MatchersTests {
|
|||||||
|
|
||||||
~CustomAllocator() = default;
|
~CustomAllocator() = default;
|
||||||
|
|
||||||
using std::allocator<T>::address;
|
|
||||||
using std::allocator<T>::allocate;
|
using std::allocator<T>::allocate;
|
||||||
using std::allocator<T>::construct;
|
|
||||||
using std::allocator<T>::deallocate;
|
using std::allocator<T>::deallocate;
|
||||||
using std::allocator<T>::max_size;
|
|
||||||
using std::allocator<T>::destroy;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
TEST_CASE("Vector matchers", "[matchers][vector]") {
|
TEST_CASE("Vector matchers", "[matchers][vector]") {
|
||||||
|
Loading…
Reference in New Issue
Block a user