From ca928bc1b09bb3636a18819dad5c31619a1d9e59 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 9 Oct 2016 00:41:29 +0300 Subject: [PATCH] Fix issue #295 vs 2013 not supports std::atomic_int --- include/spdlog/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 490deec7..6d12dce4 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -57,7 +57,7 @@ using formatter_ptr = std::shared_ptr; #if defined(SPDLOG_NO_ATOMIC_LEVELS) using level_t = details::null_atomic_int; #else -using level_t = std::atomic_int; +using level_t = std::atomic #endif using log_err_handler = std::function;