Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
4da5fa25
Commit
4da5fa25
authored
Apr 28, 2017
by
Jean-Michaël Celerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add SPDLOG_FINAL information in tweakme.h
parent
53138c20
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
include/spdlog/common.h
include/spdlog/common.h
+1
-2
include/spdlog/tweakme.h
include/spdlog/tweakme.h
+8
-0
No files found.
include/spdlog/common.h
View file @
4da5fa25
...
...
@@ -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
...
...
include/spdlog/tweakme.h
View file @
4da5fa25
...
...
@@ -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
///////////////////////////////////////////////////////////////////////////////
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment