aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/include/G3D/Set.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/g3dlite/include/G3D/Set.h')
-rw-r--r--dep/g3dlite/include/G3D/Set.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/dep/g3dlite/include/G3D/Set.h b/dep/g3dlite/include/G3D/Set.h
index 0ea96b880cf..abad5e44e21 100644
--- a/dep/g3dlite/include/G3D/Set.h
+++ b/dep/g3dlite/include/G3D/Set.h
@@ -125,8 +125,13 @@ public:
return !(*this == other);
}
+ bool isValid() const {
+ return it.isValid();
+ }
+
+ /** @deprecated Use isValid */
bool hasMore() const {
- return it.hasMore();
+ return it.isValid();
}
bool operator==(const Iterator& other) const {