diff --git a/modules/beast_core/system/PlatformDefs.h b/modules/beast_core/system/PlatformDefs.h index 11ac689f3..e0f728416 100644 --- a/modules/beast_core/system/PlatformDefs.h +++ b/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: