mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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
This commit is contained in:
parent
fbd9df3dbb
commit
453fe5d990
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user