From b74b28f5c64b67adfa54e01302e939b23628e59a Mon Sep 17 00:00:00 2001 From: gabi Date: Thu, 15 Jan 2015 11:46:51 +0200 Subject: [PATCH] added includes to common.h --- include/spdlog/common.h | 6 ++++-- include/spdlog/spdlog.h | 7 ++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index e9202b19..36c2160e 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -24,8 +24,10 @@ #pragma once -#include -#include +#include +#include +#include +#include //visual studio does not support noexcept yet #ifndef _MSC_VER diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index e2104b74..8b4c3099 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -28,8 +28,13 @@ #pragma once + + +#include "common.h" #include "logger.h" + + namespace spdlog { @@ -57,7 +62,7 @@ void set_formatter(formatter_ptr f); void set_level(level::level_enum log_level); -// Turn on async mode and set the queue size for each async_logger. +// Turn on async mode and set the queue size for each async_logger. // queue_size: size of queue (must be power of 2). The queue will pre allocate queue_size entries upon construction. // async_overflow_policy (optional): // async_overflow_policy::block_retry (default policy, if queue is full, block until queue has room for the new log entry)