]> git.lyx.org Git - lyx.git/blob - src/frontends/tests/boost.cpp
Cosmetics.
[lyx.git] / src / frontends / 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 <iostream>
14 #include <boost/assert.hpp>
15
16 using namespace std;
17
18 namespace boost {
19
20 #ifndef BOOST_NO_EXCEPTIONS
21 void throw_exception(exception const & /*e*/)
22 {
23         cerr<<"ASSERTION VIOLATED IN biblio test";
24         BOOST_ASSERT(false);
25 }
26 #endif
27
28
29 void assertion_failed(char const * /*expr*/, char const * /*function*/,
30                       char const * /*file*/, long /*line*/)
31 {
32         ::abort();
33 }
34
35 } // namespace boost