summaryrefslogtreecommitdiff
path: root/include/thread
diff options
context:
space:
mode:
Diffstat (limited to 'include/thread')
-rw-r--r--include/thread2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/thread b/include/thread
index 1b8dca394aa4..0629d70efda4 100644
--- a/include/thread
+++ b/include/thread
@@ -298,7 +298,7 @@ public:
template <class _Fp, class ..._Args,
class = typename enable_if
<
- !is_same<typename decay<_Fp>::type, thread>::value
+ !is_same<typename __uncvref<_Fp>::type, thread>::value
>::type
>
_LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS