From 9450626942ecda304e6980866f1a94acd9952340 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 17 Apr 2007 15:59:47 +0000 Subject: [PATCH] Fix compilation. Use BOOST_ASSERT instead of assert() git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17838 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/MathMacroTable.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mathed/MathMacroTable.h b/src/mathed/MathMacroTable.h index e05a4938be..0435679318 100644 --- a/src/mathed/MathMacroTable.h +++ b/src/mathed/MathMacroTable.h @@ -17,6 +17,8 @@ #include "support/docstring.h" +#include + namespace lyx { class MathArray; @@ -46,7 +48,7 @@ public: /// bool locked() const { return lockCount_!=0; } /// - void unlock() { --lockCount_; assert(lockCount_>=0); } + void unlock() { --lockCount_; BOOST_ASSERT(lockCount_>=0); } private: ///