mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 17:20:50 +00:00
Build fixed
This commit is contained in:
parent
40a9495267
commit
7b65dfb867
@ -143,7 +143,7 @@ RWLockImpl::LockHolder RWLockImpl::getLock(RWLockImpl::Type type, const String &
|
||||
};
|
||||
|
||||
/// This object is placed above unique_lock, because it may lock in destructor.
|
||||
std::shared_ptr lock_holder(new LockHolderImpl(query_id, type));
|
||||
auto lock_holder = std::make_shared<LockHolderImpl>(query_id, type);
|
||||
|
||||
std::unique_lock lock(mutex);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user