add SPDLOG_FINAL information in tweakme.h

parent 53138c20
...@@ -29,8 +29,7 @@ ...@@ -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 @@ ...@@ -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
///////////////////////////////////////////////////////////////////////////////
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment