From 349829fa96567101ff39575fb9691b917d62ad3a Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 22 Jul 2018 02:02:36 +0300 Subject: [PATCH] Update periodic_worker.h --- include/spdlog/details/periodic_worker.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/spdlog/details/periodic_worker.h b/include/spdlog/details/periodic_worker.h index e7bd7a9d..af25ed02 100644 --- a/include/spdlog/details/periodic_worker.h +++ b/include/spdlog/details/periodic_worker.h @@ -26,7 +26,6 @@ class periodic_worker public: periodic_worker(std::function callback_fun, std::chrono::seconds interval) { - if (interval == std::chrono::seconds::zero()) { active_ = false;