summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar Lioncash2018-09-04 10:43:29 -0400
committerGravatar Lioncash2018-09-04 10:43:31 -0400
commit978f3a3282f790f409c682368a4d54072d7d8968 (patch)
tree44860a534265356d93cb60c1870dee7af4d2ab18 /src/common
parentMerge pull request #1231 from lioncash/global (diff)
downloadyuzu-978f3a3282f790f409c682368a4d54072d7d8968.tar.gz
yuzu-978f3a3282f790f409c682368a4d54072d7d8968.tar.xz
yuzu-978f3a3282f790f409c682368a4d54072d7d8968.zip
common/logging/filter: Make constructor explicit
Implicit conversions aren't desirable here.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/logging/filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/logging/filter.h b/src/common/logging/filter.h
index d5ffc5a58..f13197fc9 100644
--- a/src/common/logging/filter.h
+++ b/src/common/logging/filter.h
@@ -19,7 +19,7 @@ namespace Log {
19class Filter { 19class Filter {
20public: 20public:
21 /// Initializes the filter with all classes having `default_level` as the minimum level. 21 /// Initializes the filter with all classes having `default_level` as the minimum level.
22 Filter(Level default_level = Level::Info); 22 explicit Filter(Level default_level = Level::Info);
23 23
24 /// Resets the filter so that all classes have `level` as the minimum displayed level. 24 /// Resets the filter so that all classes have `level` as the minimum displayed level.
25 void ResetAll(Level level); 25 void ResetAll(Level level);