MXS-1775 Change assumption of Monitor::destroy() function
Used to be assumed to be a static member function, now assumed to be a regular member function.
This commit is contained in:
@ -40,7 +40,7 @@ public:
|
||||
|
||||
static void destroyInstance(MXS_MONITOR_INSTANCE* pInstance)
|
||||
{
|
||||
MXS_EXCEPTION_GUARD(MonitorInstance::destroy(static_cast<MonitorInstance*>(pInstance)));
|
||||
MXS_EXCEPTION_GUARD(static_cast<MonitorInstance*>(pInstance)->destroy());
|
||||
}
|
||||
|
||||
static bool startMonitor(MXS_MONITOR_INSTANCE* pInstance,
|
||||
|
||||
Reference in New Issue
Block a user