mirror of https://github.com/Icinga/icinga2.git
Make Timer#Timer() private to enforce Timer::Create() usage
This commit is contained in:
parent
21b68455ce
commit
9ee4d08722
|
@ -53,6 +53,7 @@ private:
|
|||
bool m_Started{false}; /**< Whether the timer is enabled. */
|
||||
bool m_Running{false}; /**< Whether the timer proc is currently running. */
|
||||
|
||||
Timer() = default;
|
||||
void Call();
|
||||
void InternalReschedule(bool completed, double next = -1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue