[*] Missing explicit moves

This commit is contained in:
Reece Wilson 2024-03-03 22:08:46 +00:00
parent 7ed4dce366
commit e471890c0e

View File

@ -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();