-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Move LoggerWrapper methods to inline (#1121)
We call LoggerWrapper::operator()() and LoggerWrapper::doPrint a lot, so I think it makes sense to have them in the header so they can be inlined. Also changes the way the singleton DummyWrapper works: now it uses a safer idiom with static initialization right inside the function.
- Loading branch information
1 parent
486d6fe
commit 6414195
Showing
2 changed files
with
14 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters