Commit cae43ffe authored by gabime's avatar gabime

fixed issue #199 (_MSC_VER update for vs 2015 to use noexcept instead of throw())

parent ea611f2d
......@@ -19,13 +19,16 @@
#include <spdlog/details/null_mutex.h>
//visual studio does not support noexcept yet
#ifndef _MSC_VER
#define SPDLOG_NOEXCEPT noexcept
#else
//visual studio upto 2013 does not support noexcept
#if defined(_MSC_VER) && (_MSC_VER < 1900)
#define SPDLOG_NOEXCEPT throw()
#else
#define SPDLOG_NOEXCEPT noexcept
#endif
namespace spdlog
{
......
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