mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
DEPRECATED: operator<< API
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user