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:
Johan Wikman
2018-05-15 15:17:23 +03:00
parent a31549221b
commit d5871e48ae
4 changed files with 10 additions and 7 deletions

View File

@ -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,