diff --git a/Include/auROXTL/STLShims/ExtendStlLikeSharedPtr.hpp b/Include/auROXTL/STLShims/ExtendStlLikeSharedPtr.hpp index 5c3e804..9bba1c6 100644 --- a/Include/auROXTL/STLShims/ExtendStlLikeSharedPtr.hpp +++ b/Include/auROXTL/STLShims/ExtendStlLikeSharedPtr.hpp @@ -51,14 +51,14 @@ namespace Aurora::Memory #endif } - ExSharedPtr(Base_t &&in) : Base_t(in) + ExSharedPtr(Base_t &&in) : Base_t(AuMove(in)) { #if !defined(_AURORA_NULLEXPT_ENABLE_UB) _cache(); #endif } - ExSharedPtr(ExSharedPtr &&in) : Base_t(in) + ExSharedPtr(ExSharedPtr &&in) : Base_t(AuMove(in.BasePointerType())) { #if !defined(_AURORA_NULLEXPT_ENABLE_UB) _cache(); @@ -96,7 +96,7 @@ namespace Aurora::Memory #endif } - ExSharedPtr(Base_t &&in, element_type *ptr) : Base_t(in, ptr) + ExSharedPtr(Base_t &&in, element_type *ptr) : Base_t(AuMove(in), ptr) { #if !defined(_AURORA_NULLEXPT_ENABLE_UB) _cache();