Fixed iterator issues in set/map
[libcds.git] / cds / container / split_list_map.h
index cf560e5d4f2a274ae0bf5cd57619139240495557..eef5927ad0df70978d869f717f42250b81fc099c 100644 (file)
@@ -184,7 +184,7 @@ namespace cds { namespace container {
         {
             return base_class::begin();
         }
-        const_iterator cbegin()
+        const_iterator cbegin() const
         {
             return base_class::cbegin();
         }
@@ -196,7 +196,7 @@ namespace cds { namespace container {
         {
             return base_class::end();
         }
-        const_iterator cend()
+        const_iterator cend() const
         {
             return base_class::cend();
         }