forked from catchorg/Catch2
Don't use removed-in-C++20 allocator parts in CustomAllocator tests
This commit is contained in:
@ -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]") {
|
||||||
|
Reference in New Issue
Block a user