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

@ -171,9 +171,9 @@ bool MariaDBMonitor::start(const MXS_CONFIG_PARAMETER* params)
return !error;
}
void MariaDBMonitor::destroy(MariaDBMonitor* monitor)
void MariaDBMonitor::destroy()
{
delete monitor;
delete this;
}
/**