Fix PR30979 - tuple<move_only> is constructible from move_only const&
llvm-svn: 286774
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 40905833b59cd84f18022a96e8281d924f70ca08
diff --git a/include/tuple b/include/tuple
index 7e1c942..9f6661f 100644
--- a/include/tuple
+++ b/include/tuple
@@ -632,7 +632,7 @@
<
_CheckArgsConstructor<
_Dummy
- >::template __enable_implicit<_Tp...>(),
+ >::template __enable_implicit<_Tp const&...>(),
bool
>::type = false
>
@@ -650,7 +650,7 @@
<
_CheckArgsConstructor<
_Dummy
- >::template __enable_explicit<_Tp...>(),
+ >::template __enable_explicit<_Tp const&...>(),
bool
>::type = false
>
@@ -668,7 +668,7 @@
<
_CheckArgsConstructor<
_Dummy
- >::template __enable_implicit<_Tp...>(),
+ >::template __enable_implicit<_Tp const&...>(),
bool
>::type = false
>
@@ -687,7 +687,7 @@
<
_CheckArgsConstructor<
_Dummy
- >::template __enable_explicit<_Tp...>(),
+ >::template __enable_explicit<_Tp const&...>(),
bool
>::type = false
>