assert -> abort fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7729 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2003-09-10 13:39:38 +00:00
parent 5765dce6ca
commit 1331aacf59
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
* boost.C (assertion_failed): use lyx::support::abort instead of
assert.
2003-09-10 Angus Leeming <leeming@lyx.org>
* Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
@ -19,14 +24,14 @@
* buffer.[Ch]: Add an Impl class and move Buffer's member
variables into it. As a result move several header files out of
buffer.h.
buffer.h.
Add header files to lots of .C files all over the tree as a result.
2003-09-09 Angus Leeming <leeming@lyx.org>
* buffer.[Ch]: make Buffer's member variables private. Add
accessor functions.
accessor functions.
Lots of changes all over the tree as a result.

View File

@ -12,6 +12,7 @@
#include "lyx_main.h"
#include "debug.h"
#include "support/lyxlib.h"
#include <boost/assert.hpp>
@ -51,7 +52,7 @@ void assertion_failed(char const * expr, char const * function,
lyxerr << "Assertion triggered in " << function << " by \"" <<
expr << " in file " << file << ":" << line << endl;
emergencyCleanup();
assert(false);
lyx::support::abort();
}