From: Angus Leeming Date: Tue, 7 Oct 2003 22:15:10 +0000 (+0000) Subject: Replace throw with throw_exception (which doesn't ;-) X-Git-Tag: 1.6.10~15990 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=453fe5d9908f084b14a45cc65d66ea9a43a87f50;p=features.git Replace throw with throw_exception (which doesn't ;-) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7876 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/boost/ChangeLog b/boost/ChangeLog index db96b963e3..5cdc6555d8 100644 --- a/boost/ChangeLog +++ b/boost/ChangeLog @@ -1,3 +1,7 @@ +2003-10-07 Angus Leeming + + * boost/any.hpp: change the throw to boost::throw_exception. + 2003-09-26 Lars Gullik Bjønnes * boost/test/detail/nullstream.hpp: new file diff --git a/boost/boost/any.hpp b/boost/boost/any.hpp index 4f8ce4b186..013a83fec9 100644 --- a/boost/boost/any.hpp +++ b/boost/boost/any.hpp @@ -14,6 +14,7 @@ #include #include "boost/config.hpp" +#include "boost/throw_exception.hpp" namespace boost { @@ -171,7 +172,7 @@ namespace boost { const ValueType * result = any_cast(&operand); if(!result) - throw bad_any_cast(); + throw_exception(bad_any_cast()); return *result; }