mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 08:35:16 -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:
|
public:
|
||||||
|
|
||||||
RsStackMutex(RsMutex &mtx) : mMtx(mtx)
|
explicit RsStackMutex(RsMutex& mtx): mMtx(mtx)
|
||||||
{
|
{
|
||||||
mMtx.lock();
|
mMtx.lock();
|
||||||
#ifdef RS_MUTEX_DEBUG
|
#ifdef RS_MUTEX_DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue