TSan exam:
[libcds.git] / cds / opt / buffer.h
index b081f93efa9bade9ddbb29a91d7dc3f20bd2cca5..9dca22ff3ed17783d4f30dd3d2f4e8848648af74 100644 (file)
@@ -52,8 +52,8 @@ namespace cds { namespace opt {
         {
         public:
             typedef T   value_type  ;   ///< value type
-            static const size_t c_nCapacity = Capacity ;    ///< Capacity
-            static const bool c_bExp2 = Exp2; ///< \p Exp2 flag
+            static CDS_CONSTEXPR const size_t c_nCapacity = Capacity ;    ///< Capacity
+            static CDS_CONSTEXPR const bool c_bExp2 = Exp2; ///< \p Exp2 flag
 
             /// Rebind buffer for other template parameters
             template <typename Q, size_t Capacity2 = c_nCapacity, bool Exp22 = c_bExp2>