mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Make NotificationManager::Send take a const reference to notification (#836)
* Make NotificationManager::Send take a const reference to notification * Fix virtual func
This commit is contained in:

committed by
GitHub

parent
0e0d6890ad
commit
f1688be263
@@ -66,14 +66,7 @@ LegoWorldPresenter::~LegoWorldPresenter()
|
||||
}
|
||||
|
||||
if (m_entity) {
|
||||
#ifdef COMPAT_MODE
|
||||
{
|
||||
MxNotificationParam param(c_notificationNewPresenter, NULL);
|
||||
NotificationManager()->Send(m_entity, ¶m);
|
||||
}
|
||||
#else
|
||||
NotificationManager()->Send(m_entity, &MxNotificationParam(c_notificationNewPresenter, NULL));
|
||||
#endif
|
||||
NotificationManager()->Send(m_entity, MxNotificationParam(c_notificationNewPresenter, NULL));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user