Renamed "ensure" to "update" in statistics
[libcds.git] / cds / intrusive / split_list_rcu.h
index 0159b6e1a43efdb01b2f6147e94f826d7330eb3f..e27c64d8a7dd5864ef6c59e3352f8e17a8a292e1 100644 (file)
@@ -636,10 +636,10 @@ namespace cds { namespace intrusive {
             std::pair<bool, bool> bRet = m_List.update_at( pHead, val, func, bAllowInsert );
             if ( bRet.first && bRet.second ) {
                 inc_item_count();
-                m_Stat.onEnsureNew();
+                m_Stat.onUpdateNew();
             }
             else
-                m_Stat.onEnsureExist();
+                m_Stat.onUpdateExist();
             return bRet;
         }
         //@cond
@@ -1037,6 +1037,7 @@ namespace cds { namespace intrusive {
             Otherwise, a crash is possible if another thread deletes the element the iterator points to.
         */
         typedef iterator_type<false>    iterator;
+
         /// Const forward iterator
         /**
             For iterator's features and requirements see \ref iterator