catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Don't use removed-in-C++20 allocator parts in CustomAllocator tests
- Commit
fa31d58934f067c57c2d8647d20c6acbf6d27e2b- Author
- Martin Hořeňovský ·
- Parents
9ac8cad2d16e
Changes
tests/SelfTest/UsageTests/Matchers.tests.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/SelfTest/UsageTests/Matchers.tests.cpp b/tests/SelfTest/UsageTests/Matchers.tests.cpp index 93543434..cf6f3ce7 100644 --- a/tests/SelfTest/UsageTests/Matchers.tests.cpp +++ b/tests/SelfTest/UsageTests/Matchers.tests.cpp @@ -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]") {