Boost logo

Boost-Commit :

From: emil_at_[hidden]
Date: 2008-03-10 16:18:20


Author: emildotchevski
Date: 2008-03-10 16:18:19 EDT (Mon, 10 Mar 2008)
New Revision: 43555
URL: http://svn.boost.org/trac/boost/changeset/43555

Log:
fix for:

boost/exception/enable_exception_cloning.hpp uses std::bad_alloc
without #include'ing <new>. Because of this, some exception library
tests fail to compile on HP-UX.
Text files modified:
   trunk/boost/exception/enable_exception_cloning.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/exception/enable_exception_cloning.hpp
==============================================================================
--- trunk/boost/exception/enable_exception_cloning.hpp (original)
+++ trunk/boost/exception/enable_exception_cloning.hpp 2008-03-10 16:18:19 EDT (Mon, 10 Mar 2008)
@@ -10,7 +10,7 @@
 #include <boost/exception/detail/cloning_base.hpp>
 #include <boost/detail/atomic_count.hpp>
 #include <boost/assert.hpp>
-#include <stdexcept>
+#include <new>
 
 namespace
 boost


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