mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 13:46:54 +00:00
externals: microprofile: Eliminate variable shadowing
This commit is contained in:
parent
c1bd602e4c
commit
d0328f49f1
2
externals/microprofile/microprofile.h
vendored
2
externals/microprofile/microprofile.h
vendored
|
@ -1246,7 +1246,7 @@ struct MicroProfileScopeLock
|
|||
{
|
||||
bool bUseLock;
|
||||
std::recursive_mutex& m;
|
||||
MicroProfileScopeLock(std::recursive_mutex& m) : bUseLock(g_bUseLock), m(m)
|
||||
MicroProfileScopeLock(std::recursive_mutex& m_) : bUseLock(g_bUseLock), m(m_)
|
||||
{
|
||||
if(bUseLock)
|
||||
m.lock();
|
||||
|
|
Loading…
Reference in a new issue