mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +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:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "mxactionnotificationparam.h"
|
||||
#include "mxatom.h"
|
||||
#include "mxautolocker.h"
|
||||
#include "mxautolock.h"
|
||||
#include "mxdsmultiaction.h"
|
||||
#include "mxeventmanager.h"
|
||||
#include "mxmisc.h"
|
||||
@@ -338,7 +338,7 @@ MxBool MxOmni::ActionSourceEquals(MxDSAction* p_action, const char* p_name)
|
||||
// FUNCTION: LEGO1 0x100b07f0
|
||||
MxLong MxOmni::Notify(MxParam& p_param)
|
||||
{
|
||||
MxAutoLocker lock(&this->m_criticalsection);
|
||||
AUTOLOCK(m_criticalSection);
|
||||
|
||||
if (((MxNotificationParam&) p_param).GetNotification() != c_notificationEndAction) {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user