We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 315d7b8 commit f392e57Copy full SHA for f392e57
src/core/qgsfeatureiterator.h
@@ -73,7 +73,7 @@ class CORE_EXPORT QgsFeatureIterator
73
bool close();
74
75
//! find out whether the iterator is still valid or closed already
76
- bool isClosed();
+ bool isClosed() const;
77
78
friend bool operator== ( const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2 );
79
friend bool operator!= ( const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2 );
@@ -124,7 +124,7 @@ inline bool QgsFeatureIterator::close()
124
return mIter ? mIter->close() : false;
125
}
126
127
-inline bool QgsFeatureIterator::isClosed()
+inline bool QgsFeatureIterator::isClosed() const
128
{
129
return mIter ? mIter->mClosed : true;
130
0 commit comments