Make Timer#Timer() private to enforce Timer::Create() usage

This commit is contained in:
Alexander A. Klimov 2023-03-21 10:32:09 +01:00
parent 21b68455ce
commit 9ee4d08722
1 changed files with 1 additions and 0 deletions

View File

@ -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);