summaryrefslogtreecommitdiff
path: root/poppler-glib/src/index_iter.hg
diff options
context:
space:
mode:
Diffstat (limited to 'poppler-glib/src/index_iter.hg')
-rw-r--r--poppler-glib/src/index_iter.hg21
1 files changed, 21 insertions, 0 deletions
diff --git a/poppler-glib/src/index_iter.hg b/poppler-glib/src/index_iter.hg
index c513d5b..086c805 100644
--- a/poppler-glib/src/index_iter.hg
+++ b/poppler-glib/src/index_iter.hg
@@ -74,6 +74,27 @@ class IndexIter
* @endcode
*/
inline operator BoolExpr() const { return gobj() ? GINT_TO_POINTER(1) : 0; }
+
+ private:
+ /** Relational operators are deleted to prevent invalid conversion
+ * to const void*.
+ */
+ bool operator<(const IndexIter& src) const;
+
+ /// See operator<().
+ bool operator<=(const IndexIter& src) const;
+
+ /// See operator<().
+ bool operator>(const IndexIter& src) const;
+
+ /// See operator<().
+ bool operator>=(const IndexIter& src) const;
+
+ /// See operator<().
+ bool operator==(const IndexIter& src) const;
+
+ /// See operator<().
+ bool operator!=(const IndexIter& src) const;
};
} // namespace Poppler