From 1331aacf5939e40c32faa075cbc874fc3d88052e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Wed, 10 Sep 2003 13:39:38 +0000 Subject: [PATCH] assert -> abort fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7729 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 9 +++++++-- src/boost.C | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index cfbc3bd859..9c447cce90 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-09-10 Rob Lahaye + + * boost.C (assertion_failed): use lyx::support::abort instead of + assert. + 2003-09-10 Angus Leeming * 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 * buffer.[Ch]: make Buffer's member variables private. Add - accessor functions. + accessor functions. Lots of changes all over the tree as a result. diff --git a/src/boost.C b/src/boost.C index e4d3cf44ed..b6b4ae38ce 100644 --- a/src/boost.C +++ b/src/boost.C @@ -12,6 +12,7 @@ #include "lyx_main.h" #include "debug.h" +#include "support/lyxlib.h" #include @@ -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(); } -- 2.39.2