mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 15:14:40 +08:00
Update periodic_worker.h
This commit is contained in:
parent
3684228cd5
commit
349829fa96
@ -26,7 +26,6 @@ class periodic_worker
|
|||||||
public:
|
public:
|
||||||
periodic_worker(std::function<void()> callback_fun, std::chrono::seconds interval)
|
periodic_worker(std::function<void()> callback_fun, std::chrono::seconds interval)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (interval == std::chrono::seconds::zero())
|
if (interval == std::chrono::seconds::zero())
|
||||||
{
|
{
|
||||||
active_ = false;
|
active_ = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user