Tiny, includes the fishy private: vc. public: issue

-- 
André Pönitz ........................................ [EMAIL PROTECTED]
? .math_rowst.C.swp
? mathed
? mathed60.diff
Index: math_rowst.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_rowst.C,v
retrieving revision 1.1
diff -u -p -r1.1 math_rowst.C
--- math_rowst.C        2001/03/15 15:07:17     1.1
+++ math_rowst.C        2001/03/15 16:00:40
@@ -85,6 +85,13 @@ MathedRowContainer::iterator MathedRowCo
        return iterator(this);
 }
 
+MathedRowContainer::iterator MathedRowContainer::end()
+{
+       iterator it(this);
+       it.pos_ = data_.size();
+       return it;
+}
+
 bool MathedRowContainer::empty() const
 {
        return data_.size() == 0;
Index: math_rowst.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_rowst.h,v
retrieving revision 1.14
diff -u -p -r1.14 math_rowst.h
--- math_rowst.h        2001/03/15 15:07:17     1.14
+++ math_rowst.h        2001/03/15 16:00:40
@@ -61,7 +61,8 @@ protected:
 
 
 class MathedRowContainer {
-private:
+//private:
+public:
        ///
        typedef std::vector<MathedRowStruct>   data_type;
        ///
@@ -96,6 +97,8 @@ private:
 public:
        /// 
        iterator begin();
+       /// 
+       iterator end();
        ///
        bool empty() const;
 

Reply via email to