Build fixed

This commit is contained in:
Akazz 2019-09-11 01:21:08 +03:00
parent 40a9495267
commit 7b65dfb867

View File

@ -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);