[CI] Changed CMake scripts for tests
[libcds.git] / test / unit / list / kv_iterable_dhp.cpp
index 94903d5d19eadbd1c7815e17dd1635a475ff7a4b..8b725ed6bc02560e33fc93fa18287c953cd16b5f 100644 (file)
@@ -1,7 +1,7 @@
 /*
     This file is a part of libcds - Concurrent Data Structures library
 
-    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
 
     Source code repo: http://github.com/khizmax/libcds/
     Download: http://sourceforge.net/projects/libcds/files/
@@ -42,14 +42,14 @@ namespace {
         {
             typedef cc::IterableKVList< gc_type, key_type, value_type > list_type;
 
-            cds::gc::dhp::GarbageCollector::Construct( 16, list_type::c_nHazardPtrCount );
+            cds::gc::dhp::smr::construct( list_type::c_nHazardPtrCount );
             cds::threading::Manager::attachThread();
         }
 
         void TearDown()
         {
             cds::threading::Manager::detachThread();
-            cds::gc::dhp::GarbageCollector::Destruct();
+            cds::gc::dhp::smr::destruct();
         }
     };