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
|
||||
#endif
|
||||
|
||||
// If an user of the library is not inheriting from the types provided by it,
|
||||
// he can #define SPDLOG_FINAL final to get additional optimizations
|
||||
// See tweakme.h
|
||||
#if !defined(SPDLOG_FINAL)
|
||||
#define SPDLOG_FINAL
|
||||
#endif
|
||||
|
@ -106,3 +106,11 @@
|
||||
//
|
||||
// #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