mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-12 16:09:37 -05:00
mark single argument RsStackMutex costructor explicit
This commit is contained in:
parent
7ae314440f
commit
fa48b03fac
@ -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…
Reference in New Issue
Block a user