vs 2013 not supports std::atomic_int
This commit is contained in:
Gabi Melman 2016-10-09 00:41:29 +03:00 committed by GitHub
parent b642482432
commit ca928bc1b0
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ using formatter_ptr = std::shared_ptr<spdlog::formatter>;
#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<int>
#endif
using log_err_handler = std::function<void(const std::string &err_msg)>;