Update periodic_worker.h

This commit is contained in:
Gabi Melman 2018-07-22 02:02:36 +03:00 committed by GitHub
parent 3684228cd5
commit 349829fa96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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