mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 01:18:52 +08:00
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:
@@ -546,11 +546,6 @@ private:
|
|||||||
_MutexTuple __t_;
|
_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_STD_VER > 14
|
||||||
#endif // !_LIBCPP_HAS_NO_THREADS
|
#endif // !_LIBCPP_HAS_NO_THREADS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user