diff --git a/test/scoped_allocator_adaptor_test.cpp b/test/scoped_allocator_adaptor_test.cpp index 3464aa4..f535a54 100644 --- a/test/scoped_allocator_adaptor_test.cpp +++ b/test/scoped_allocator_adaptor_test.cpp @@ -68,7 +68,7 @@ class test_allocator } std::size_t max_size() const - { return std::size_t(Id); } + { return std::size_t(-1); } T* allocate(std::size_t n) { return (T*)::new char[n*sizeof(T)]; }