Commit ca928bc1 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Fix issue #295

 vs 2013 not supports std::atomic_int
parent b6424824
......@@ -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)>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment