Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-01-23 06:52:48


Author: danieljames
Date: 2008-01-23 06:52:47 EST (Wed, 23 Jan 2008)
New Revision: 42923
URL: http://svn.boost.org/trac/boost/changeset/42923

Log:
Always use void const* for the second parameter of allocate. Refs #1596.

Text files modified:
   branches/unordered/trunk/libs/unordered/test/helpers/allocator.hpp | 6 ------
   1 files changed, 0 insertions(+), 6 deletions(-)

Modified: branches/unordered/trunk/libs/unordered/test/helpers/allocator.hpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/helpers/allocator.hpp (original)
+++ branches/unordered/trunk/libs/unordered/test/helpers/allocator.hpp 2008-01-23 06:52:47 EST (Wed, 23 Jan 2008)
@@ -45,13 +45,7 @@
             return ptr;
         }
 
- pointer allocate(size_type n, const_pointer u) { return allocate(n); }
-
-#if defined(__IBMCPP__) || BOOST_WORKAROUND(BOOST_RWSTD_VER, < 0x04020000)
- // Workaround for IBM Visual Age and Rogue Wave (or maybe just Apache stdcxx?)
- // which seem to use a void pointer for the second argument.
         pointer allocate(size_type n, void const* u) { return allocate(n); }
-#endif
 
         void deallocate(pointer p, size_type) {
             using namespace std;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk