diff --git a/test/shared_ptr_alloc_test.cpp b/test/shared_ptr_alloc_test.cpp index 9ae9628..08b9ec5 100644 --- a/test/shared_ptr_alloc_test.cpp +++ b/test/shared_ptr_alloc_test.cpp @@ -52,7 +52,7 @@ public: void * operator new(std::size_t) { - return std::allocator().allocate(1, static_cast(0)); + return std::allocator().allocate(1); } void operator delete(void * p)