From 175c3e50e9b53d1061793b0384f8439ab7a89fab Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Wed, 11 Jun 2008 19:20:27 +0000 Subject: [PATCH] Bug in the previous bug fix! [SVN r46335] --- include/boost/exception/enable_current_exception.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/exception/enable_current_exception.hpp b/include/boost/exception/enable_current_exception.hpp index c00a23a..3db0b4d 100644 --- a/include/boost/exception/enable_current_exception.hpp +++ b/include/boost/exception/enable_current_exception.hpp @@ -6,7 +6,7 @@ #ifndef UUID_78CC85B2914F11DC8F47B48E55D89593 #define UUID_78CC85B2914F11DC8F47B48E55D89593 -#include +#include #include #include #include @@ -65,7 +65,7 @@ boost T(x) { if( boost::exception * be1=dynamic_cast(this) ) - if( boost::exception const * be2=dynamic_cast(&x) ) + if( boost::exception const * be2=dynamic_cast(&x) ) *be1 = *be2; } @@ -92,7 +92,7 @@ boost count_(0) { if( boost::exception * be1=dynamic_cast(this) ) - if( boost::exception const * be2=dynamic_cast(&x) ) + if( boost::exception const * be2=dynamic_cast(&x) ) *be1 = *be2; }