fix(templates): disable TReferenceWrapper swap and enable it into FAny

This commit is contained in:
2022-12-18 19:28:33 +08:00
parent d87d292691
commit de059cb980
2 changed files with 18 additions and 12 deletions

View File

@ -52,13 +52,6 @@ public:
return NAMESPACE_REDCRAFT::GetTypeHash(Get());
}
FORCEINLINE constexpr void Swap(TReferenceWrapper& InValue)
{
ReferencedType* Temp = Pointer;
Pointer = InValue.Pointer;
InValue.Pointer = Temp;
}
private:
ReferencedType* Pointer;