mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-01 10:59:02 +08:00
enable final keyword by default. Can be disabled in tweakme.h for older compilers
This commit is contained in:
@@ -29,9 +29,11 @@
|
||||
#define SPDLOG_CONSTEXPR constexpr
|
||||
#endif
|
||||
|
||||
// See tweakme.h
|
||||
#if !defined(SPDLOG_FINAL)
|
||||
// final keyword support. On by default. See tweakme.h
|
||||
#if defined(SPDLOG_NO_FINAL)
|
||||
#define SPDLOG_FINAL
|
||||
#else
|
||||
#define SPDLOG_FINAL final
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
|
Reference in New Issue
Block a user