From 19e206e8f651cee611260664554a602a6acadb20 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 25 Sep 2001 18:56:21 +0000 Subject: [PATCH] Changed allocate(1,0) to allocate(1) for Dinkumware 3.06 [SVN r11254] --- test/boost_no_std_allocator.ipp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/boost_no_std_allocator.ipp b/test/boost_no_std_allocator.ipp index 2d6469d8..0ef65f81 100644 --- a/test/boost_no_std_allocator.ipp +++ b/test/boost_no_std_allocator.ipp @@ -7,6 +7,7 @@ // TITLE: std::allocator // DESCRIPTION: The C++ standard library does not provide // a standards conforming std::allocator. + #ifndef BOOST_NESTED_TEMPLATE #define BOOST_NESTED_TEMPLATE template #endif @@ -33,7 +34,7 @@ int foo(const T& i) alloc1_t a1; alloc1_t a2(a1); - pointer p = a1.allocate(1,0); + pointer p = a1.allocate(1); const_pointer cp = p; a1.construct(p,i); size_type s = a1.max_size();