]> git.lyx.org Git - features.git/commitdiff
compile fix
authorAbdelrazak Younes <younes@lyx.org>
Thu, 21 Feb 2008 22:39:46 +0000 (22:39 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 21 Feb 2008 22:39:46 +0000 (22:39 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23113 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetText.cpp

index 21cc96bb41b7a1e7f73621887e94cdace7445828..3b9060c7e0ad436151c6db98491939d6699c0143 100644 (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_;
 };