#ifndef LASSERT_H
#define LASSERT_H
+#include "support/lyxlib.h"
+
//namespace LyX {
#ifdef ENABLE_ASSERTIONS
{
//if (!assertion) throw X();
if (!assertion) {
- abort();
+ lyx::abort();
}
}
template<> inline void Assert(void const * ptr)
{
if (!ptr) {
- abort();
+ lyx::abort();
}
}
#endif /* HAVE_PARTIAL_SPECIALIZATION */