mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-17 04:17:15 +01:00
common/logging/filter: Make constructor explicit
Implicit conversions aren't desirable here.
This commit is contained in:
parent
2ba62ec196
commit
787fff9a64
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user