MXS-1775 MariaDBMonitor::main() removed

Now uses MonitorInstance::main() as all other monitors.
This commit is contained in:
Johan Wikman
2018-06-05 15:53:41 +03:00
parent 44b1e805a3
commit 18ece193bb
3 changed files with 1 additions and 49 deletions

View File

@ -181,11 +181,6 @@ protected:
*/
virtual void tick();
/**
* TODO: Temporarily virtual so that MariaDBMonitor can override.
*/
virtual void main();
/**
* @brief Called before the monitor loop is started
*
@ -219,6 +214,7 @@ private:
uint64_t m_events; /**< Enabled monitor events. */
Semaphore m_semaphore; /**< Semaphore for synchronizing with monitor thread. */
void main();
static void main(void* pArg);
};