summaryrefslogtreecommitdiff
path: root/src/core/RangeSet.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/RangeSet.hpp')
-rw-r--r--src/core/RangeSet.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/RangeSet.hpp b/src/core/RangeSet.hpp
index f5b56e2..9310d72 100644
--- a/src/core/RangeSet.hpp
+++ b/src/core/RangeSet.hpp
@@ -417,9 +417,10 @@ public:
/**
* This is the default cardinality.
*/
-using Cardinality = RangeSet<size_t>;
-extern const Cardinality AnyCardinality;
-
+class Cardinality : public RangeSet<size_t> {
+public:
+ static Cardinality any();
+};
}
#endif /* _OUSIA_RANGE_SET_HPP_ */