compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23113 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-21 22:39:46 +00:00
parent 0602a26c4d
commit 45bcfce52d

View File

@ -79,7 +79,7 @@ public:
}
///
virtual docstring data(size_t idx) const {
std::set<docstring>::iterator it
std::set<docstring>::const_iterator it
= buf_.registeredWords().begin();
for (size_t i = 0; i < idx; ++i)
it++;
@ -88,7 +88,7 @@ public:
private:
Buffer const & buf_;
std::set<docstring>::iterator const it_;
std::set<docstring>::const_iterator const it_;
size_t pos_;
};