[GIT] ppl/ppl(master): Improve definition of Matrix:: const_iterator default constructor.

Module: ppl/ppl Branch: master Commit: 99c0578d19f38fc8201b6f6d2b148bfcbdeec29f URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=99c0578d19f38...
Author: Enea Zaffanella zaffanella@cs.unipr.it Date: Fri Feb 26 17:24:23 2010 +0100
Improve definition of Matrix::const_iterator default constructor.
---
src/Matrix.defs.hh | 3 ++- src/Matrix.inlines.hh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/Matrix.defs.hh b/src/Matrix.defs.hh index e0112b6..2ee3a24 100644 --- a/src/Matrix.defs.hh +++ b/src/Matrix.defs.hh @@ -138,7 +138,8 @@ public: \p *this and \p y are different. */ bool operator!=(const const_iterator& y) const; - }; + }; // class const_iterator +
//! Returns <CODE>true</CODE> if and only if \p *this has no rows. /*! diff --git a/src/Matrix.inlines.hh b/src/Matrix.inlines.hh index 6791c65..e3c7cd0 100644 --- a/src/Matrix.inlines.hh +++ b/src/Matrix.inlines.hh @@ -46,7 +46,7 @@ Matrix::total_memory_in_bytes() const {
inline Matrix::const_iterator::const_iterator() - : i(Iter()) { + : i() { }
inline
participants (1)
-
Enea Zaffanella