Eliminated some MSVC++ warning C4503 "decorated name length exceeded"
authorkhizmax <khizmax@gmail.com>
Tue, 25 Nov 2014 16:43:29 +0000 (19:43 +0300)
committerkhizmax <khizmax@gmail.com>
Tue, 25 Nov 2014 16:43:29 +0000 (19:43 +0300)
cds/container/details/make_split_list_set.h

index d1915c67feced1052177ab0dd7155d3f039d53c2..5149f0ef494fa304725da55efa90fc3b3671edd8 100644 (file)
@@ -114,7 +114,9 @@ namespace cds { namespace container {
                 };
             };
 
-            typedef cds::intrusive::MichaelList< gc, node_type, ordered_list_traits > ordered_list;
+            class ordered_list: public cds::intrusive::MichaelList< gc, node_type, ordered_list_traits >
+            {};
+            //typedef cds::intrusive::MichaelList< gc, node_type, ordered_list_traits > ordered_list;
             typedef cds::intrusive::SplitListSet< gc, ordered_list, traits > type;
         };
 #endif  // ifdef __CDS_CONTAINER_DETAILS_MICHAEL_LIST_BASE_H
@@ -223,7 +225,9 @@ namespace cds { namespace container {
                 };
             };
 
-            typedef cds::intrusive::LazyList< gc, node_type, ordered_list_traits >  ordered_list;
+            class ordered_list: public cds::intrusive::LazyList< gc, node_type, ordered_list_traits >
+            {};
+            //typedef cds::intrusive::LazyList< gc, node_type, ordered_list_traits >  ordered_list;
             typedef cds::intrusive::SplitListSet< gc, ordered_list, traits >   type;
         };
 #endif  // ifdef __CDS_CONTAINER_DETAILS_LAZY_LIST_BASE_H