X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=cds%2Fcontainer%2Ffcqueue.h;h=f069487836ee1a27e050414aaf1dd5d45214ba7e;hb=9602ba9ad7c3798847d35bfbdf2eb3a2cc051420;hp=78a37877a18045395b2ddf9239f924969561f95f;hpb=2bcb11768f17aea85eede5eb0a9ac28a81edc044;p=libcds.git diff --git a/cds/container/fcqueue.h b/cds/container/fcqueue.h index 78a37877..f0694878 100644 --- a/cds/container/fcqueue.h +++ b/cds/container/fcqueue.h @@ -47,10 +47,10 @@ namespace cds { namespace container { }; /// FCQueue type traits - struct traits: public cds::algo::flat_combining::type_traits + struct traits: public cds::algo::flat_combining::traits { typedef empty_stat stat; ///< Internal statistics - static CDS_CONSTEXPR_CONST bool enable_elimination = false; ///< Enable \ref cds_elimination_description "elimination" + static CDS_CONSTEXPR const bool enable_elimination = false; ///< Enable \ref cds_elimination_description "elimination" }; /// Metafunction converting option list to traits @@ -110,7 +110,7 @@ namespace cds { namespace container { typedef Traits traits; ///< Queue type traits typedef typename traits::stat stat; ///< Internal statistics type - static CDS_CONSTEXPR_CONST bool c_bEliminationEnabled = traits::enable_elimination; ///< \p true if elimination is enabled + static CDS_CONSTEXPR const bool c_bEliminationEnabled = traits::enable_elimination; ///< \p true if elimination is enabled protected: //@cond