Fixed iterator issues in set/map
[libcds.git] / cds / container / michael_set_rcu.h
index 95ee8fd8157fb682a263c6c5f45fa0efdeb01a63..7655ebedb482e5e0015ff0b9dd98580462e288a5 100644 (file)
@@ -201,7 +201,7 @@ namespace cds { namespace container {
         {
             return get_const_begin();
         }
-        const_iterator cbegin()
+        const_iterator cbegin() const
         {
             return get_const_begin();
         }
@@ -213,7 +213,7 @@ namespace cds { namespace container {
         {
             return get_const_end();
         }
-        const_iterator cend()
+        const_iterator cend() const
         {
             return get_const_end();
         }