mark single argument RsStackMutex costructor explicit

This commit is contained in:
Gioacchino Mazzurco 2021-11-05 15:31:08 +01:00
parent 7ae314440f
commit fa48b03fac
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -105,7 +105,7 @@ class RsStackMutex
{
public:
RsStackMutex(RsMutex &mtx) : mMtx(mtx)
explicit RsStackMutex(RsMutex& mtx): mMtx(mtx)
{
mMtx.lock();
#ifdef RS_MUTEX_DEBUG