mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 09:24:17 +00:00
Use AUTOLOCK macro (#660)
* Use AUTOLOCK macro * MxAutoLock * Remove semicolon Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> --------- Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "legosoundmanager.h"
|
||||
|
||||
#include "mxautolocker.h"
|
||||
#include "mxautolock.h"
|
||||
#include "mxomni.h"
|
||||
|
||||
// FUNCTION: LEGO1 0x100298a0
|
||||
@@ -90,6 +90,6 @@ MxResult LegoSoundManager::Tickle()
|
||||
{
|
||||
MxSoundManager::Tickle();
|
||||
|
||||
MxAutoLocker lock(&m_criticalSection);
|
||||
AUTOLOCK(m_criticalSection);
|
||||
return m_unk0x40->Tickle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user