mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +00:00
fix warning when assertions are disabled
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10032 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a916592daf
commit
a95ef64241
@ -1,3 +1,8 @@
|
|||||||
|
2005-06-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||||
|
|
||||||
|
* math_hullinset.C (label): avoid warning when assertions are
|
||||||
|
disabled.
|
||||||
|
|
||||||
2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||||
|
|
||||||
* math_parser.h (latexkeys): new member requires
|
* math_parser.h (latexkeys): new member requires
|
||||||
|
@ -387,8 +387,7 @@ void MathHullInset::notifyCursorLeaves(LCursor & cur)
|
|||||||
|
|
||||||
string MathHullInset::label(row_type row) const
|
string MathHullInset::label(row_type row) const
|
||||||
{
|
{
|
||||||
row_type n = nrows();
|
BOOST_ASSERT(row < nrows());
|
||||||
BOOST_ASSERT(row < n);
|
|
||||||
return label_[row];
|
return label_[row];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user