[*] missing AuMove in construct by unique

This commit is contained in:
Reece Wilson 2022-10-04 18:03:02 +01:00
parent 4696123268
commit b2b2b1760a

View File

@ -142,7 +142,7 @@ namespace Aurora::Memory
} }
template < class Y, class Deleter > template < class Y, class Deleter >
ExSharedPtr(AURORA_RUNTIME_AU_UNIQUE_PTR<Y, Deleter> &&r) : Base_t(r) ExSharedPtr(AURORA_RUNTIME_AU_UNIQUE_PTR<Y, Deleter> &&r) : Base_t(AuMove(r))
{ {
#if !defined(_AURORA_NULLEXPT_ENABLE_UB) #if !defined(_AURORA_NULLEXPT_ENABLE_UB)
_cache(); _cache();