Skip to content
Permalink
Browse files

More const-correctness

  • Loading branch information
m-kuhn committed Jul 3, 2013
1 parent 315d7b8 commit f392e57abf2572f4041c81b31bda304c23c611dc
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsfeatureiterator.h
@@ -73,7 +73,7 @@ class CORE_EXPORT QgsFeatureIterator
bool close();

//! find out whether the iterator is still valid or closed already
bool isClosed();
bool isClosed() const;

friend bool operator== ( const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2 );
friend bool operator!= ( const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2 );
@@ -124,7 +124,7 @@ inline bool QgsFeatureIterator::close()
return mIter ? mIter->close() : false;
}

inline bool QgsFeatureIterator::isClosed()
inline bool QgsFeatureIterator::isClosed() const
{
return mIter ? mIter->mClosed : true;
}

0 comments on commit f392e57

Please sign in to comment.
You can’t perform that action at this time.