From: Lars Gullik Bjønnes Date: Thu, 15 Mar 2001 16:08:26 +0000 (+0000) Subject: mathed60.diff one hunk of prev apllied code rejected X-Git-Tag: 1.6.10~21451 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=017805b3412d6f45ff42ad4861253444f6c6c542;p=features.git mathed60.diff one hunk of prev apllied code rejected git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1775 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_rowst.C b/src/mathed/math_rowst.C index 66fd6876d4..7128048cb5 100644 --- a/src/mathed/math_rowst.C +++ b/src/mathed/math_rowst.C @@ -85,6 +85,13 @@ MathedRowContainer::iterator MathedRowContainer::begin() return iterator(this); } +MathedRowContainer::iterator MathedRowContainer::end() +{ + iterator it(this); + it.pos_ = data_.size(); + return it; +} + bool MathedRowContainer::empty() const { return data_.size() == 0; diff --git a/src/mathed/math_rowst.h b/src/mathed/math_rowst.h index 2832203c6f..f934bdaf2e 100644 --- a/src/mathed/math_rowst.h +++ b/src/mathed/math_rowst.h @@ -96,6 +96,8 @@ public: public: /// iterator begin(); + /// + iterator end(); /// bool empty() const;