From e471890c0eddca85ec50467f0b2702dd4bfcacac Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Sun, 3 Mar 2024 22:08:46 +0000 Subject: [PATCH] [*] Missing explicit moves --- Include/auROXTL/STLShims/ExtendStlLikeSharedPtr.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();