fix(templates): fix TReferenceWrapper compilation error on GCC
This commit is contained in:
parent
2fa4bcea13
commit
f94621e7e0
@ -16,7 +16,7 @@ public:
|
||||
|
||||
using Type = T;
|
||||
|
||||
template <typename U> requires !TIsSame<TReferenceWrapper, typename TRemoveCVRef<U>::Type>::Value
|
||||
template <typename U> requires (!TIsSame<TReferenceWrapper, typename TRemoveCVRef<U>::Type>::Value)
|
||||
constexpr TReferenceWrapper(U&& Object) : Ptr(AddressOf(Forward<U>(Object))) { }
|
||||
|
||||
TReferenceWrapper(const TReferenceWrapper&) = default;
|
||||
|
Loading…
Reference in New Issue
Block a user