2006-03-06 22:33:16 +00:00
|
|
|
|
/**
|
2007-04-25 18:04:04 +00:00
|
|
|
|
* \file boost.cpp
|
2006-03-06 22:33:16 +00:00
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
|
|
#include <boost/assert.hpp>
|
|
|
|
|
|
|
|
|
|
#include <cstdlib>
|
|
|
|
|
#include <exception>
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
2006-03-06 22:33:16 +00:00
|
|
|
|
namespace boost {
|
|
|
|
|
|
|
|
|
|
void throw_exception(std::exception const & /*e*/)
|
|
|
|
|
{
|
|
|
|
|
BOOST_ASSERT(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void assertion_failed(char const * /*expr*/, char const * /*function*/,
|
|
|
|
|
char const * /*file*/, long /*line*/)
|
|
|
|
|
{
|
|
|
|
|
::abort();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|