DEPRECATED: operator<< API

This commit is contained in:
gabime
2016-07-03 03:43:55 +03:00
parent 70d0e87328
commit 5650f10bab
10 changed files with 32 additions and 62 deletions

View File

@@ -27,6 +27,14 @@
#define SPDLOG_CONSTEXPR constexpr
#endif
#if defined(__GNUC__) || defined(__clang__)
#define DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER)
#define DEPRECATED __declspec(deprecated)
#else
#pragma message("DEPRECATED")
#define DEPRECATED
#endif
namespace spdlog
{