mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
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:
parent
7a854d3a91
commit
9450626942
@ -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:
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user