]> git.lyx.org Git - lyx.git/blob - src/support/tests/boost.C
the AM_* flags patch
[lyx.git] / src / support / tests / boost.C
1 /**
2  * \file boost.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Lars Gullik Bjønnes
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include <boost/assert.hpp>
14
15 #include <cstdlib>
16 #include <exception>
17
18 namespace boost {
19
20 void throw_exception(std::exception const & /*e*/)
21 {
22         BOOST_ASSERT(false);
23 }
24
25
26 void assertion_failed(char const * /*expr*/, char const * /*function*/,
27                       char const * /*file*/, long /*line*/)
28 {
29         ::abort();
30 }
31
32
33 }