summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--icespider/core/flatMap.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/icespider/core/flatMap.h b/icespider/core/flatMap.h
index 7eb6364..6505a3d 100644
--- a/icespider/core/flatMap.h
+++ b/icespider/core/flatMap.h
@@ -81,9 +81,20 @@ namespace IceSpider {
}
}
- using S::begin;
+ auto
+ begin() const
+ {
+ return cbegin();
+ }
+ auto
+ end() const
+ {
+ return cend();
+ }
+
+ using S::cbegin;
+ using S::cend;
using S::empty;
- using S::end;
using S::reserve;
using S::size;
using iterator = typename S::iterator;