mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 12:02:36 +08:00
Fix const default initialization of lock_guard<>
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -617,7 +617,7 @@ call_once(once_flag& __flag, const _Callable& __func)
|
||||
template <>
|
||||
class _LIBCPP_TYPE_VIS_ONLY lock_guard<> {
|
||||
public:
|
||||
explicit lock_guard() = default;
|
||||
explicit lock_guard() {}
|
||||
~lock_guard() = default;
|
||||
|
||||
_LIBCPP_INLINE_VISIBILITY
|
||||
|
||||
Reference in New Issue
Block a user