Fixed iterator issues in set/map
[libcds.git] / cds / container / impl / michael_kvlist.h
index 7dce75f5c7a586d7118573918c564e91eb1e0f1e..bd82088cf346e74935e35140aad800fd7539d1db 100644 (file)
@@ -299,7 +299,7 @@ namespace cds { namespace container {
         {
             return const_iterator( head() );
         }
-        const_iterator cbegin()
+        const_iterator cbegin() const
         {
             return const_iterator( head() );
         }
@@ -311,7 +311,7 @@ namespace cds { namespace container {
         {
             return const_iterator();
         }
-        const_iterator cend()
+        const_iterator cend() const
         {
             return const_iterator();
         }