Changed allocate(1,0) to allocate(1) for Dinkumware 3.06

[SVN r11254]
This commit is contained in:
Peter Dimov
2001-09-25 18:56:21 +00:00
parent e62e5742e0
commit 19e206e8f6

View File

@ -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();