MXS-1775 Remove destroy()

Now the instance is deleted simply by deleting it.
This commit is contained in:
Johan Wikman
2018-05-25 09:20:31 +03:00
parent 0833db8a48
commit b439857a84
13 changed files with 8 additions and 47 deletions

View File

@ -40,11 +40,6 @@ GRMon* GRMon::create(MXS_MONITOR* monitor)
return new GRMon(monitor);
}
void GRMon::destroy()
{
delete this;
}
bool GRMon::has_sufficient_permissions() const
{
return true;