common/logging/filter: Make constructor explicit

Implicit conversions aren't desirable here.
This commit is contained in:
Lioncash
2018-09-15 15:41:51 +02:00
committed by fearlessTobi
parent 2ba62ec196
commit 787fff9a64
+1 -1
View File
@@ -19,7 +19,7 @@ namespace Log {
class Filter {
public:
/// 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.
void ResetAll(Level level);