Skip to content

Commit f392e57

Browse files
committed
More const-correctness
1 parent 315d7b8 commit f392e57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/qgsfeatureiterator.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class CORE_EXPORT QgsFeatureIterator
7373
bool close();
7474

7575
//! find out whether the iterator is still valid or closed already
76-
bool isClosed();
76+
bool isClosed() const;
7777

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

127-
inline bool QgsFeatureIterator::isClosed()
127+
inline bool QgsFeatureIterator::isClosed() const
128128
{
129129
return mIter ? mIter->mClosed : true;
130130
}

0 commit comments

Comments
 (0)