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:
André Pönitz 2002-05-29 15:32:57 +00:00
parent 1b6bcf5fae
commit 9af069e928

View File

@ -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)