2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

common/logging/filter: Make constructor explicit

Implicit conversions aren't desirable here.
This commit is contained in:
Lioncash 2018-09-04 10:43:29 -04:00
parent 1c5636e690
commit 978f3a3282

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);