summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-04 10:43:29 -0400
committerLioncash <mathew1800@gmail.com>2018-09-04 10:43:31 -0400
commit978f3a3282f790f409c682368a4d54072d7d8968 (patch)
tree44860a534265356d93cb60c1870dee7af4d2ab18 /src/common
parent1c5636e690ca5844b396f97adc0a094558edc56f (diff)
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 {
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);