mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 17:35:46 +00:00
externals: microprofile: Eliminate variable shadowing
This commit is contained in:
parent
716cced399
commit
ebf9030aa0
1 changed files with 1 additions and 1 deletions
2
externals/microprofile/microprofile.h
vendored
2
externals/microprofile/microprofile.h
vendored
|
@ -1246,7 +1246,7 @@ struct MicroProfileScopeLock
|
||||||
{
|
{
|
||||||
bool bUseLock;
|
bool bUseLock;
|
||||||
std::recursive_mutex& m;
|
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)
|
if(bUseLock)
|
||||||
m.lock();
|
m.lock();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue