Skip to content
Snippets Groups Projects
Commit 978f3a32 authored by Lioncash's avatar Lioncash
Browse files

common/logging/filter: Make constructor explicit

Implicit conversions aren't desirable here.
parent 1c5636e6
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ namespace Log { ...@@ -19,7 +19,7 @@ namespace Log {
class Filter { class Filter {
public: public:
/// Initializes the filter with all classes having `default_level` as the minimum level. /// Initializes the filter with all classes having `default_level` as the minimum level.
Filter(Level default_level = Level::Info); explicit Filter(Level default_level = Level::Info);
/// Resets the filter so that all classes have `level` as the minimum displayed level. /// Resets the filter so that all classes have `level` as the minimum displayed level.
void ResetAll(Level level); void ResetAll(Level level);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment