mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-21 08:10:43 +08:00
add SPDLOG_FINAL information in tweakme.h
This commit is contained in:
parent
53138c20fb
commit
4da5fa256c
@ -29,8 +29,7 @@
|
|||||||
#define SPDLOG_CONSTEXPR constexpr
|
#define SPDLOG_CONSTEXPR constexpr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// If an user of the library is not inheriting from the types provided by it,
|
// See tweakme.h
|
||||||
// he can #define SPDLOG_FINAL final to get additional optimizations
|
|
||||||
#if !defined(SPDLOG_FINAL)
|
#if !defined(SPDLOG_FINAL)
|
||||||
#define SPDLOG_FINAL
|
#define SPDLOG_FINAL
|
||||||
#endif
|
#endif
|
||||||
|
@ -106,3 +106,11 @@
|
|||||||
//
|
//
|
||||||
// #define SPDLOG_PREVENT_CHILD_FD
|
// #define SPDLOG_PREVENT_CHILD_FD
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Uncomment to mark some types as final, allowing more optimizations in release
|
||||||
|
// mode with recent compilers. See GCC's documentation for -Wsuggest-final-types
|
||||||
|
// for instance.
|
||||||
|
//
|
||||||
|
// #define SPDLOG_FINAL final
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user