summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/support/small_set.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support/small_set.h b/src/support/small_set.h
index 9ee0f0403..f8725ec9d 100644
--- a/src/support/small_set.h
+++ b/src/support/small_set.h
@@ -165,7 +165,7 @@ public:
using pointer = const value_type*;
using reference = const value_type&;
- Parent* parent;
+ const Parent* parent;
using Iterator = IteratorBase<Parent, FlexibleIterator>;
@@ -176,7 +176,7 @@ public:
size_t fixedIndex;
FlexibleIterator flexibleIterator;
- IteratorBase(Parent* parent)
+ IteratorBase(const Parent* parent)
: parent(parent), usingFixed(parent->usingFixed()) {}
void setBegin() {