Update periodic_worker.h
This commit is contained in:
parent
3684228cd5
commit
349829fa96
@ -26,7 +26,6 @@ class periodic_worker
|
||||
public:
|
||||
periodic_worker(std::function<void()> callback_fun, std::chrono::seconds interval)
|
||||
{
|
||||
|
||||
if (interval == std::chrono::seconds::zero())
|
||||
{
|
||||
active_ = false;
|
||||
|
Loading…
Reference in New Issue
Block a user