]> git.lyx.org Git - lyx.git/blob - src/support/lassert.cpp
add onoff support for "inset-modify changetype xxx" in include inset
[lyx.git] / src / support / lassert.cpp
1 /**
2  * \file assert.cpp
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author André Pönitz
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "support/debug.h"
14
15 #include <boost/assert.hpp>
16
17 namespace lyx {
18
19 void doAssert(char const * expr,  char const * file, long line)
20 {
21         LYXERR0("ASSERTION " << expr << " VIOLATED IN " << file << ":" << line);
22         // comment this out if not needed
23         BOOST_ASSERT(false);
24 }
25
26 } // namespace lyx