renamed test procedure to avoid conflict with C++ Builder

[SVN r11406]
This commit is contained in:
John Maddock
2001-10-19 11:37:52 +00:00
parent 4f01724912
commit 2069d5ad13

View File

@@ -17,7 +17,7 @@
namespace boost_no_std_allocator{ namespace boost_no_std_allocator{
template <class T> template <class T>
int foo(const T& i) int test_allocator(const T& i)
{ {
typedef std::allocator<int> alloc1_t; typedef std::allocator<int> alloc1_t;
typedef typename alloc1_t::size_type size_type; typedef typename alloc1_t::size_type size_type;
@@ -57,7 +57,7 @@ int foo(const T& i)
int test() int test()
{ {
return foo(0); return test_allocator(0);
} }
} }