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:
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user