mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Do not shadow variables
This commit is contained in:
@@ -13,9 +13,9 @@ class reverse_lock
|
||||
{
|
||||
public:
|
||||
|
||||
explicit reverse_lock(Lock& lock) : lock(lock) {
|
||||
lock.unlock();
|
||||
lock.swap(templock);
|
||||
explicit reverse_lock(Lock& _lock) : lock(_lock) {
|
||||
_lock.unlock();
|
||||
_lock.swap(templock);
|
||||
}
|
||||
|
||||
~reverse_lock() {
|
||||
|
||||
Reference in New Issue
Block a user