diff --git a/test/utility.hpp b/test/utility.hpp index 2709ac2e..7acb5a55 100644 --- a/test/utility.hpp +++ b/test/utility.hpp @@ -112,7 +112,7 @@ struct tracing_allocator { return static_cast(::operator new(n * sizeof(T))); } - void deallocate(T*& p, std::size_t n) { + void deallocate(T* p, std::size_t n) { if (db) { (*db)[typeid(T)].second += n; }