lyx_mirror/src/boost.C
Lars Gullik Bjønnes 5d443af86a update boost
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5047 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 21:50:08 +00:00

21 lines
264 B
C

#include <config.h>
#include "debug.h"
#include "support/LAssert.h"
#include <exception>
using std::endl;
namespace boost {
void throw_exception(std::exception const & e)
{
lyxerr << "Exception caught:\n"
<< e.what() << endl;
lyx::Assert(false);
}
}