mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 17:34:05 +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 "mxloopingsmkpresenter.h"
|
||||
|
||||
#include "mxautolocker.h"
|
||||
#include "mxautolock.h"
|
||||
#include "mxdsmediaaction.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxLoopingSmkPresenter, 0x724);
|
||||
@@ -122,7 +122,7 @@ void MxLoopingSmkPresenter::RepeatingTickle()
|
||||
// FUNCTION: LEGO1 0x100b4cd0
|
||||
MxResult MxLoopingSmkPresenter::AddToManager()
|
||||
{
|
||||
MxAutoLocker lock(&m_criticalSection);
|
||||
AUTOLOCK(m_criticalSection);
|
||||
return MxSmkPresenter::AddToManager();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user