]> git.lyx.org Git - lyx.git/blob - src/support/tests/boost.cpp
Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList
[lyx.git] / src / support / tests / boost.cpp
1 /**
2  * \file boost.cpp
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
19 namespace boost {
20
21 void throw_exception(exception const & /*e*/)
22 {
23         BOOST_ASSERT(false);
24 }
25
26
27 void assertion_failed(char const * /*expr*/, char const * /*function*/,
28                       char const * /*file*/, long /*line*/)
29 {
30         ::abort();
31 }
32
33
34 }