removed container_node struct from gc::HP and gc::DHP
authorkhizmax <khizmax@gmail.com>
Mon, 10 Nov 2014 10:05:38 +0000 (13:05 +0300)
committerkhizmax <khizmax@gmail.com>
Mon, 10 Nov 2014 10:05:38 +0000 (13:05 +0300)
cds/gc/hp_decl.h
cds/gc/ptb_decl.h
cds/intrusive/optimistic_queue.h

index 800b7c3..46df3a1 100644 (file)
@@ -82,14 +82,6 @@ namespace cds { namespace gc {
             ~thread_gc() ;  // inline in hp_impl.h
         };
 
-        /// Base for container node
-        /**
-            @headerfile cds/gc/hp.h
-            This struct is empty for Hazard Pointer GC
-        */
-        struct container_node
-        {};
-
         /// Hazard Pointer guard
         /**
             @headerfile cds/gc/hp.h
index 1c3b830..34feb39 100644 (file)
@@ -83,14 +83,6 @@ namespace cds { namespace gc {
             ~thread_gc()    ;   // inline in ptb_impl.h
         };
 
-        /// Base for container node
-        /**
-            @headerfile cds/gc/ptb.h
-            This struct is empty for Pass-the-Buck GC
-        */
-        struct container_node
-        {};
-
 
         /// Pass-the-Buck guard
         /**
index 812c243..f316baa 100644 (file)
@@ -22,7 +22,7 @@ namespace cds { namespace intrusive {
             - \p Tag - a \ref cds_intrusive_hook_tag "tag"
         */
         template <class GC, typename Tag = opt::none>
-        struct node: public GC::container_node
+        struct node
         {
             typedef GC  gc  ;   ///< Garbage collector
             typedef Tag tag ;   ///< tag