]> git.lyx.org Git - features.git/commitdiff
Replace throw with throw_exception (which doesn't ;-)
authorAngus Leeming <leeming@lyx.org>
Tue, 7 Oct 2003 22:15:10 +0000 (22:15 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 7 Oct 2003 22:15:10 +0000 (22:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7876 a592a061-630c-0410-9148-cb99ea01b6c8

boost/ChangeLog
boost/boost/any.hpp

index db96b963e3293abcc47061832d7eec25c8c02298..5cdc6555d8edb5ea0aece372dde51c8312e0ee7a 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-07  Angus Leeming  <leeming@lyx.org>
+
+       * boost/any.hpp: change the throw to boost::throw_exception.
+
 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * boost/test/detail/nullstream.hpp: new file
index 4f8ce4b18612eaf1400900bdd252d19ac06be4f4..013a83fec9e5a2cea62b35834d5d25bb6d8bf86f 100644 (file)
@@ -14,6 +14,7 @@
 #include <typeinfo>
 
 #include "boost/config.hpp"
+#include "boost/throw_exception.hpp"
 
 namespace boost
 {
@@ -171,7 +172,7 @@ namespace boost
     {
         const ValueType * result = any_cast<ValueType>(&operand);
         if(!result)
-            throw bad_any_cast();
+            throw_exception(bad_any_cast());
         return *result;
     }