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
This commit is contained in:
Abdelrazak Younes 2007-04-17 15:59:47 +00:00
parent 7a854d3a91
commit 9450626942

View File

@ -17,6 +17,8 @@
#include "support/docstring.h"
#include <boost/assert.hpp>
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:
///