Fixed iterator issues in set/map
[libcds.git] / cds / intrusive / impl / lazy_list.h
index c485b7ac50fbcb51b4afa7c1d855950a04d40f40..ca19239054930a4330b5bed2b690b83cb4fc0e32 100644 (file)
@@ -443,7 +443,7 @@ namespace cds { namespace intrusive {
         {
             return get_const_begin();
         }
-        const_iterator cbegin()
+        const_iterator cbegin() const
         {
             return get_const_begin();
         }
@@ -455,7 +455,7 @@ namespace cds { namespace intrusive {
         {
             return get_const_end();
         }
-        const_iterator cend()
+        const_iterator cend() const
         {
             return get_const_end();
         }