diff --git a/test/allocator_utilities_test.cpp b/test/allocator_utilities_test.cpp index def9b4b..781d60b 100644 --- a/test/allocator_utilities_test.cpp +++ b/test/allocator_utilities_test.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include #include @@ -27,14 +28,14 @@ int main() // Check allocate works okay { - char_allocator::pointer p = a2.allocate(10); + boost::allocator_pointer::type p = a2.allocate(10); BOOST_TEST(!!p); a2.deallocate(p, 10); } // Try using the standalone construct/destroy { - int_allocator::pointer p2 = a3.allocate(1); + boost::allocator_pointer::type p2 = a3.allocate(1); boost::detail::allocator::construct(p2, 25); BOOST_TEST(*p2 == 25); boost::detail::allocator::destroy(p2);