Fixed iterator issues in set/map
[libcds.git] / cds / container / split_list_map_rcu.h
index c18aa9dc12130c4066abd403f2696b5167546a3b..ee395aed00f09a92628c8c0dfd4e9ffdc32f743a 100644 (file)
@@ -217,7 +217,7 @@ namespace cds { namespace container {
         {
             return base_class::begin();
         }
-        const_iterator cbegin()
+        const_iterator cbegin() const
         {
             return base_class::cbegin();
         }
@@ -229,7 +229,7 @@ namespace cds { namespace container {
         {
             return base_class::end();
         }
-        const_iterator cend()
+        const_iterator cend() const
         {
             return base_class::cend();
         }