|
Boost-Commit : |
From: emil_at_[hidden]
Date: 2008-06-11 15:20:27
Author: emildotchevski
Date: 2008-06-11 15:20:27 EDT (Wed, 11 Jun 2008)
New Revision: 46335
URL: http://svn.boost.org/trac/boost/changeset/46335
Log:
Bug in the previous bug fix!
Text files modified:
trunk/boost/exception/enable_current_exception.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/exception/enable_current_exception.hpp
==============================================================================
--- trunk/boost/exception/enable_current_exception.hpp (original)
+++ trunk/boost/exception/enable_current_exception.hpp 2008-06-11 15:20:27 EDT (Wed, 11 Jun 2008)
@@ -6,7 +6,7 @@
#ifndef UUID_78CC85B2914F11DC8F47B48E55D89593
#define UUID_78CC85B2914F11DC8F47B48E55D89593
-#include <boost/exception/detail/counted_base.hpp>
+#include <boost/exception/exception.hpp>
#include <boost/exception/detail/cloning_base.hpp>
#include <boost/detail/atomic_count.hpp>
#include <boost/assert.hpp>
@@ -65,7 +65,7 @@
T(x)
{
if( boost::exception * be1=dynamic_cast<boost::exception *>(this) )
- if( boost::exception const * be2=dynamic_cast<T const *>(&x) )
+ if( boost::exception const * be2=dynamic_cast<boost::exception const *>(&x) )
*be1 = *be2;
}
@@ -92,7 +92,7 @@
count_(0)
{
if( boost::exception * be1=dynamic_cast<boost::exception *>(this) )
- if( boost::exception const * be2=dynamic_cast<T const *>(&x) )
+ if( boost::exception const * be2=dynamic_cast<boost::exception const *>(&x) )
*be1 = *be2;
}
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