diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-12-31 01:16:12 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-12-31 01:16:12 +0100 |
commit | b2eddfabffeb78fc5b49f9c17d70175d2dfed2e0 (patch) | |
tree | 4f292d1608b0c5f4f60dab65af66a7c29156f425 /asl/tests/buffer_tests.cpp | |
parent | 739f53210466415affd5b0ebd5b3da5c251d232c (diff) |
Some work on buffer move
Diffstat (limited to 'asl/tests/buffer_tests.cpp')
-rw-r--r-- | asl/tests/buffer_tests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/asl/tests/buffer_tests.cpp b/asl/tests/buffer_tests.cpp index 4c2d2c1..15cc391 100644 --- a/asl/tests/buffer_tests.cpp +++ b/asl/tests/buffer_tests.cpp @@ -46,6 +46,8 @@ struct CounterAllocator {
asl::GlobalHeap::dealloc(ptr, layout);
}
+
+ constexpr bool operator==(const CounterAllocator&) const { return true; }
};
static_assert(asl::allocator<CounterAllocator>);
|