fix(templates): fix Ref() call ambiguity
This commit is contained in:
parent
aa572542e2
commit
2de1068ad8
@ -94,18 +94,6 @@ FORCEINLINE constexpr TReferenceWrapper<T> Ref(TReferenceWrapper<T> InValue)
|
|||||||
return Ref(InValue.Get());
|
return Ref(InValue.Get());
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
FORCEINLINE constexpr TReferenceWrapper<const T> Ref(const T& InValue)
|
|
||||||
{
|
|
||||||
return TReferenceWrapper<const T>(InValue);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
FORCEINLINE constexpr TReferenceWrapper<const T> Ref(TReferenceWrapper<T> InValue)
|
|
||||||
{
|
|
||||||
return Ref(InValue.Get());
|
|
||||||
}
|
|
||||||
|
|
||||||
NAMESPACE_PRIVATE_BEGIN
|
NAMESPACE_PRIVATE_BEGIN
|
||||||
|
|
||||||
template <typename T> struct TIsTReferenceWrapperImpl : FFalse { };
|
template <typename T> struct TIsTReferenceWrapperImpl : FFalse { };
|
||||||
|
Loading…
Reference in New Issue
Block a user