Remove <memory> dependency

This commit is contained in:
Victor Zverovich
2024-01-12 08:36:01 -08:00
parent 3c9608416a
commit 297b22f585
4 changed files with 30 additions and 29 deletions
+4 -1
View File
@@ -17,9 +17,12 @@
template <typename T> class mock_allocator {
public:
using value_type = T;
using size_type = size_t;
mock_allocator() {}
mock_allocator(const mock_allocator&) {}
using value_type = T;
MOCK_METHOD(T*, allocate, (size_t));
MOCK_METHOD(void, deallocate, (T*, size_t));
};