• Jean-Michaël Celerier's avatar
    Add an optional final qualifier to types · 53138c20
    Jean-Michaël Celerier authored
    When building with GCC's -Wfinal-types, a lot of types of spdlog
    are marked as being more optimizable if they were marked final.
    
    This patch adds a possibility for the user of the library to `#define SPDLOG_FINAL final`
    and enjoy potentially better performance : GCC is then able to replace virtual calls by true
    function calls if it can ensure that there are no derived types).
    
    By default SPDLOG_FINAL is defined to nothing to not break existing code that
    may be inheriting of some of these types for some reason.
    53138c20
Name
Last commit
Last update
bench Loading commit data...
cmake Loading commit data...
example Loading commit data...
include/spdlog Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
astyle.sh Loading commit data...