[BronsonAVLTree] Fixed bug of counting of inserted items
[libcds.git] / cds / container / impl / bronson_avltree_map_rcu.h
index 4b362d3fd8c42ee38781c17ef0aef568c28ca052..f98febea9089819e1f1c1ed94d17111d8c1b5200 100644 (file)
@@ -1462,6 +1462,7 @@ namespace cds { namespace container {
             }
 
             if ( bInserted ) {
+                ++m_ItemCounter;
                 m_stat.onInsertSuccess();
                 return update_flags::result_inserted;
             }