diff --git a/bindings/flow/Tuple.cpp b/bindings/flow/Tuple.cpp index bef7775cca..337792e508 100644 --- a/bindings/flow/Tuple.cpp +++ b/bindings/flow/Tuple.cpp @@ -19,12 +19,11 @@ */ #include "Tuple.h" -#include namespace FDB { // The floating point operations depend on this using the IEEE 754 standard. -BOOST_STATIC_ASSERT(std::numeric_limits::is_iec559); -BOOST_STATIC_ASSERT(std::numeric_limits::is_iec559); +static_assert(std::numeric_limits::is_iec559); +static_assert(std::numeric_limits::is_iec559); const size_t Uuid::SIZE = 16; diff --git a/flow/Error.h b/flow/Error.h index d3612f72dd..56450ac467 100644 --- a/flow/Error.h +++ b/flow/Error.h @@ -24,7 +24,6 @@ #include #include -#include #include #include #include "flow/Platform.h" @@ -221,7 +220,7 @@ void assert_num_impl(char const* a_nm, EXTERNC void breakpoint_me(); #ifdef FDB_CLEAN_BUILD -#define NOT_IN_CLEAN BOOST_STATIC_ASSERT_MSG(0, "This code can not be enabled in a clean build."); +#define NOT_IN_CLEAN static_assert(false, "This code can not be enabled in a clean build."); #else #define NOT_IN_CLEAN #endif diff --git a/flow/ObjectSerializerTraits.h b/flow/ObjectSerializerTraits.h index d0419a1e9d..b191eba232 100644 --- a/flow/ObjectSerializerTraits.h +++ b/flow/ObjectSerializerTraits.h @@ -27,7 +27,6 @@ #include #include #include -#include template struct is_fb_function_t : std::false_type {};