summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f13197fc9..f7e3b87c9 100644
--- a/src/common/logging/filter.h
+++ b/src/common/logging/filter.h
@@ -49,6 +49,6 @@ public:
bool IsDebug() const;
private:
- std::array<Level, (size_t)Class::Count> class_levels;
+ std::array<Level, static_cast<size_t>(Class::Count)> class_levels;
};
} // namespace Log