#include <config.h>
#include "LAssert.h"
-#include "debug.h"
#include "support/lyxlib.h"
#ifdef ENABLE_ASSERTIONS
} // namespace anon
-
-void Assert(bool assertion, char const * message)
-{
- if (!assertion) {
- lyxerr << "Assert triggered: " << message << std::endl;
- emergencyCleanup();
- lyx::support::abort();
- }
-}
-
-
void Assert(bool assertion)
{
if (!assertion) {