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

@ -42,6 +42,8 @@ private:
public:
// TODO: Once done refactoring, see which of these can be moved to private.
~MariaDBMonitor();
/**
* Print diagnostics.
*
@ -78,11 +80,6 @@ public:
*/
bool start(const MXS_CONFIG_PARAMETER* params);
/**
* Destroyes aka deletes the instance.
*/
void destroy();
/**
* Stop the monitor. Waits until monitor has stopped.
*/
@ -171,7 +168,6 @@ private:
// Base methods
MariaDBMonitor(MXS_MONITOR* monitor_base);
~MariaDBMonitor();
void reset_server_info();
void clear_server_info();
bool load_config_params(const MXS_CONFIG_PARAMETER* params);