fix(templates): fix TReferenceWrapper compilation error on GCC
This commit is contained in:
@ -16,7 +16,7 @@ public:
|
|||||||
|
|
||||||
using Type = T;
|
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))) { }
|
constexpr TReferenceWrapper(U&& Object) : Ptr(AddressOf(Forward<U>(Object))) { }
|
||||||
|
|
||||||
TReferenceWrapper(const TReferenceWrapper&) = default;
|
TReferenceWrapper(const TReferenceWrapper&) = default;
|
||||||
|
Reference in New Issue
Block a user