diff --git a/libs/audiographer/audiographer/process_context.h b/libs/audiographer/audiographer/process_context.h index 8aec7fa9b2..73528fddb8 100644 --- a/libs/audiographer/audiographer/process_context.h +++ b/libs/audiographer/audiographer/process_context.h @@ -28,7 +28,7 @@ class /*LIBAUDIOGRAPHER_API*/ ProcessContext // This will need to be modified if if it's modified above static const ThrowLevel throwLevel = DEFAULT_THROW_LEVEL; - BOOST_STATIC_ASSERT (boost::has_trivial_destructor::value); + BOOST_STATIC_ASSERT (std::is_trivially_destructible::value); public: diff --git a/libs/audiographer/audiographer/type_utils.h b/libs/audiographer/audiographer/type_utils.h index c16b0f942a..a022d48d45 100644 --- a/libs/audiographer/audiographer/type_utils.h +++ b/libs/audiographer/audiographer/type_utils.h @@ -2,7 +2,6 @@ #define AUDIOGRAPHER_TYPE_UTILS_H #include -#include #include #include #include @@ -19,11 +18,11 @@ class LIBAUDIOGRAPHER_API TypeUtilsBase protected: template - static void do_zero_fill(T * buffer, samplecnt_t samples, const boost::integral_constant&) + static void do_zero_fill(T * buffer, samplecnt_t samples, const std::bool_constant&) { std::uninitialized_fill_n (buffer, samples, T()); } template - static void do_zero_fill(T * buffer, samplecnt_t samples, const boost::true_type&) + static void do_zero_fill(T * buffer, samplecnt_t samples, const std::true_type&) { memset (buffer, 0, samples * sizeof(T)); } }; @@ -31,11 +30,10 @@ class LIBAUDIOGRAPHER_API TypeUtilsBase template class /*LIBAUDIOGRAPHER_API*/ TypeUtils : private TypeUtilsBase { - BOOST_STATIC_ASSERT (boost::has_trivial_destructor::value); + BOOST_STATIC_ASSERT (std::is_trivially_destructible::value); - typedef boost::integral_constant::value || - boost::is_signed::value> zero_fillable; + typedef std::bool_constant::value || + std::is_signed::value> zero_fillable; public: /** Fill buffer with a zero value * The value used for filling is either 0 or the value of T() diff --git a/libs/lua/LuaBridge/LuaBridge.h b/libs/lua/LuaBridge/LuaBridge.h index e734cf7ffb..a9970dd33a 100644 --- a/libs/lua/LuaBridge/LuaBridge.h +++ b/libs/lua/LuaBridge/LuaBridge.h @@ -48,7 +48,6 @@ #include #include -#include #include "lua/luastate.h" diff --git a/libs/lua/LuaBridge/detail/TypeTraits.h b/libs/lua/LuaBridge/detail/TypeTraits.h index ffb437f658..acfce6c373 100644 --- a/libs/lua/LuaBridge/detail/TypeTraits.h +++ b/libs/lua/LuaBridge/detail/TypeTraits.h @@ -94,8 +94,7 @@ struct TypeTraits class isEnum { public: - //static const bool value = std::is_enum::value; // C++11 - static const bool value = boost::is_enum::value; + static const bool value = std::is_enum::value; };