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 800b7c3955d2f821d4488c810a56d52608e9e384..46df3a14758f3f3f6b326a4f2b7471fd95152952 100644 (file)
@@ -82,14 +82,6 @@ namespace cds { namespace gc {
             ~thread_gc() ;  // inline in hp_impl.h
         };
 
             ~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
         /// Hazard Pointer guard
         /**
             @headerfile cds/gc/hp.h
index 1c3b830518269772fb9d4c51d94bbb280d8416cf..34feb395ac8f8b160059bdc5d11f370b0f0996b4 100644 (file)
@@ -83,14 +83,6 @@ namespace cds { namespace gc {
             ~thread_gc()    ;   // inline in ptb_impl.h
         };
 
             ~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
         /**
 
         /// Pass-the-Buck guard
         /**
index 812c24332e4f93fb172f98589930d4fd1fccfde7..f316baa2790754a2c2f34ede0824169eefa39b33 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>
             - \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
         {
             typedef GC  gc  ;   ///< Garbage collector
             typedef Tag tag ;   ///< tag