Skip to content

Commit

Permalink
More const-correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 3, 2013
1 parent 315d7b8 commit f392e57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsfeatureiterator.h
Expand Up @@ -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 );
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit f392e57

Please sign in to comment.