wip static-lib

This commit is contained in:
gabime
2019-05-13 00:09:00 +03:00
parent 61e4597488
commit ce637440bb
21 changed files with 82 additions and 33 deletions

View File

@@ -2,8 +2,14 @@
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include "spdlog/details/periodic_worker.h"
#endif
namespace spdlog {
namespace details {
SPDLOG_INLINE periodic_worker::periodic_worker(const std::function<void()> &callback_fun, std::chrono::seconds interval)
{
active_ = (interval > std::chrono::seconds::zero());