diff --git a/include/EASTL/internal/move_help.h b/include/EASTL/internal/move_help.h index 44c4dec1..97990df6 100644 --- a/include/EASTL/internal/move_help.h +++ b/include/EASTL/internal/move_help.h @@ -112,7 +112,7 @@ namespace eastl EA_CPP14_CONSTEXPR typename eastl::remove_reference::type&& move(T&& x) EA_NOEXCEPT { - return ((typename eastl::remove_reference::type&&)x); + return static_cast::type&&>(x); }