From e38773e4dc6521ee5699a5bf65d86274e38b718b Mon Sep 17 00:00:00 2001 From: khizmax Date: Tue, 4 Nov 2014 09:35:41 +0300 Subject: [PATCH] Replace boost.type_traits with std::type_traits --- cds/compiler/cxx11_atomic.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cds/compiler/cxx11_atomic.h b/cds/compiler/cxx11_atomic.h index 120e9430..08cdd3a3 100644 --- a/cds/compiler/cxx11_atomic.h +++ b/cds/compiler/cxx11_atomic.h @@ -4,6 +4,7 @@ #define __CDS_COMPILER_CXX11_ATOMIC_H //@cond +#include // make_unsigned #include #include @@ -48,9 +49,6 @@ namespace cds { namespace cxx11_atomic { # error "Undefined compiler" #endif -// In C++11, make_unsigned is declared in -#include // for make_unsigned - namespace cds { namespace cxx11_atomic { // forward declarations @@ -160,7 +158,7 @@ namespace cds { namespace cxx11_atomic { struct atomic_integral_bitwise_ops { public: - typedef typename boost::make_unsigned::type unsigned_type; + typedef typename std::make_unsigned::type unsigned_type; typedef atomic_generic_ops atomic_ops; static T fetch_and(T volatile * pDest, T val, memory_order order) CDS_NOEXCEPT -- 2.34.1