|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52713 - trunk/boost/archive/detail
From: ramey_at_[hidden]
Date: 2009-05-01 18:52:34
Author: ramey
Date: 2009-05-01 18:52:33 EDT (Fri, 01 May 2009)
New Revision: 52713
URL: http://svn.boost.org/trac/boost/changeset/52713
Log:
fix for error in handling compilers which don't handle has_new_operator
Text files modified:
trunk/boost/archive/detail/iserializer.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/archive/detail/iserializer.hpp
==============================================================================
--- trunk/boost/archive/detail/iserializer.hpp (original)
+++ trunk/boost/archive/detail/iserializer.hpp 2009-05-01 18:52:33 EDT (Fri, 01 May 2009)
@@ -207,7 +207,7 @@
struct heap_allocator
{
// boost::has_new_operator<T> doesn't work on these compilers
- #if NO_USE_HAS_NEW_OPERATOR
+ #if DONT_USE_HAS_NEW_OPERATOR
// This doesn't handle operator new overload for class T
static T * invoke(){
return static_cast<T *>(operator new(sizeof(T)));
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