1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

ADT: Fix typo in static assert message from 17c584551d573f1693990773e29fbe6b4b6fa4f4

This commit is contained in:
Duncan P. N. Exon Smith 2021-01-28 15:14:46 -08:00
parent a126d2972b
commit 3d4ee1120f

View File

@ -115,7 +115,7 @@ static_assert(!std::is_convertible<IntrusiveRefCntPtr<X> &&,
"X&& -> Z should be rejected with SFINAE");
static_assert(!std::is_convertible<const IntrusiveRefCntPtr<X> &,
IntrusiveRefCntPtr<Z>>::value,
"cosnt X& -> Z should be rejected with SFINAE");
"const X& -> Z should be rejected with SFINAE");
static_assert(
!std::is_convertible<std::unique_ptr<X>, IntrusiveRefCntPtr<Z>>::value,
"X -> Z should be rejected with SFINAE");