MSPriorityQueue refactoring, bug fix
[libcds.git] / tests / test-hdr / stack / hdr_fcstack.cpp
index 48ebe9137d678c816e7767a7d1b0b0df9500e6c4..c3ea04448c07bb895abc2c59c3859afb48eb9a98 100644 (file)
@@ -99,10 +99,11 @@ namespace stack {
 
     void TestFCStack::FCStack_deque_elimination()
     {
-        struct stack_traits : public cds::container::fcstack::traits
-        {
-            static CDS_CONSTEXPR const bool enable_elimination = true;
-        };
+        struct stack_traits : public
+            cds::container::fcstack::make_traits <
+            cds::opt::enable_elimination < true >
+            > ::type
+        {};
         typedef cds::container::FCStack< unsigned int, std::stack<unsigned int, std::deque<unsigned int> >, stack_traits > stack_type;
         test<stack_type>();
     }