mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
add a 'const'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4279 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1b6bcf5fae
commit
9af069e928
@ -90,7 +90,7 @@ void Paragraph::Pimpl::setContentsFromPar(Paragraph const * par)
|
||||
Paragraph::value_type Paragraph::Pimpl::getChar(pos_type pos) const
|
||||
{
|
||||
// This is in the critical path for loading!
|
||||
pos_type siz = size();
|
||||
pos_type const siz = size();
|
||||
lyx::Assert(pos <= siz);
|
||||
// This is stronger, and I belive that this is the assertion
|
||||
// that we should really use. (Lgb)
|
||||
|
Loading…
x
Reference in New Issue
Block a user