Revert r304955 - Fix class template deduction for scoped_lock.

Richard decided to fix these cases in Clang, even though they are
representative of a larger problem for more complex
cases.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@304966 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-06-08 07:18:15 +00:00
parent 1cf5591af9
commit d66e43aff1

View File

@@ -546,11 +546,6 @@ private:
_MutexTuple __t_;
};
#ifdef __cpp_deduction_guides
template <class _Mutex> explicit scoped_lock(_Mutex&) -> scoped_lock<_Mutex>;
explicit scoped_lock() -> scoped_lock<>;
#endif
#endif // _LIBCPP_STD_VER > 14
#endif // !_LIBCPP_HAS_NO_THREADS