diff --git a/Subtrees/beast/modules/beast_core/system/PlatformDefs.h b/Subtrees/beast/modules/beast_core/system/PlatformDefs.h index 11ac689f32..e0f7284160 100644 --- a/Subtrees/beast/modules/beast_core/system/PlatformDefs.h +++ b/Subtrees/beast/modules/beast_core/system/PlatformDefs.h @@ -283,6 +283,14 @@ template <> struct BeastStaticAssert { static void dummy() {} }; # define BEAST_COMPILER_SUPPORTS_OVERRIDE_AND_FINAL 1 #endif +#if BEAST_COMPILER_SUPPORTS_MOVE_SEMANTICS +# define BEAST_MOVE_ARG(type) type&& +# define BEAST_MOVE_CAST(type) static_cast +#else +# define BEAST_MOVE_ARG(type) type +# define BEAST_MOVE_CAST(type) type +#endif + //------------------------------------------------------------------------------ // Declare some fake versions of nullptr and noexcept, for older compilers: