mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
fixed issue #199 (_MSC_VER update for vs 2015 to use noexcept instead of throw())
This commit is contained in:
parent
ea611f2d79
commit
cae43ffef5
@ -19,13 +19,16 @@
|
|||||||
|
|
||||||
#include <spdlog/details/null_mutex.h>
|
#include <spdlog/details/null_mutex.h>
|
||||||
|
|
||||||
//visual studio does not support noexcept yet
|
|
||||||
#ifndef _MSC_VER
|
//visual studio upto 2013 does not support noexcept
|
||||||
#define SPDLOG_NOEXCEPT noexcept
|
#if defined(_MSC_VER) && (_MSC_VER < 1900)
|
||||||
#else
|
|
||||||
#define SPDLOG_NOEXCEPT throw()
|
#define SPDLOG_NOEXCEPT throw()
|
||||||
|
#else
|
||||||
|
#define SPDLOG_NOEXCEPT noexcept
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace spdlog
|
namespace spdlog
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user