Allow the locker to be used even without a client
Former-commit-id: 041446005b03121adf7ac061bd0fd2ec70d9418e
This commit is contained in:
parent
c88a19bc5e
commit
95606ffb10
@ -9,7 +9,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
void arm(client *c, bool fIfNeeded = false) // if a client is passed, then the client is already locked
|
||||
void arm(client *c = nullptr, bool fIfNeeded = false) // if a client is passed, then the client is already locked
|
||||
{
|
||||
if (m_fArmed)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user