remove CDS_CONSTEXPR_CONST macro
[libcds.git] / cds / container / treiber_stack.h
index 0a30c939fa5445ddfdc2cdc77ff562de3a5ee24c..20e9a6536dfad6cbb6b973c625ed5104016f4c1f 100644 (file)
@@ -52,7 +52,7 @@ namespace cds { namespace container {
             ///@{
 
             /// Enable elimination back-off; by default, it is disabled
-            static CDS_CONSTEXPR_CONST bool enable_elimination = false;
+            static CDS_CONSTEXPR const bool enable_elimination = false;
 
             /// Back-off strategy to wait for elimination, default is cds::backoff::delay<>
             typedef cds::backoff::delay<>          elimination_backoff;
@@ -161,7 +161,7 @@ namespace cds { namespace container {
             {
                 typedef cds::intrusive::treiber_stack::base_hook< cds::opt::gc<gc> > hook;
                 typedef node_deallocator disposer;
-                static CDS_CONSTEXPR_CONST opt::link_check_type link_checker = cds::intrusive::treiber_stack::traits::link_checker;
+                static CDS_CONSTEXPR const opt::link_check_type link_checker = cds::intrusive::treiber_stack::traits::link_checker;
             };
 
             // Result of metafunction