mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
sync: unpublish LocksHeld() which is used only in sync.cpp
This commit is contained in:
@@ -246,7 +246,7 @@ void LeaveCritical()
|
||||
pop_lock();
|
||||
}
|
||||
|
||||
std::string LocksHeld()
|
||||
static std::string LocksHeld()
|
||||
{
|
||||
LockData& lockdata = GetLockData();
|
||||
std::lock_guard<std::mutex> lock(lockdata.dd_mutex);
|
||||
|
||||
Reference in New Issue
Block a user