mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 16:15:23 -04:00
mark single argument RsStackMutex costructor explicit
This commit is contained in:
parent
7ae314440f
commit
fa48b03fac
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class RsStackMutex
|
|||
{
|
||||
public:
|
||||
|
||||
RsStackMutex(RsMutex &mtx) : mMtx(mtx)
|
||||
explicit RsStackMutex(RsMutex& mtx): mMtx(mtx)
|
||||
{
|
||||
mMtx.lock();
|
||||
#ifdef RS_MUTEX_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue