From 83c32b8d224c974b9a8b0e846ab5942bad719d53 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 4 Sep 2018 10:44:36 -0400 Subject: [PATCH] common/logging/filter: Replace C-style case with C++ static_cast --- src/common/logging/filter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/logging/filter.h b/src/common/logging/filter.h index ccb021050..bbadbcba1 100644 --- a/src/common/logging/filter.h +++ b/src/common/logging/filter.h @@ -46,6 +46,6 @@ public: bool CheckMessage(Class log_class, Level level) const; private: - std::array class_levels; + std::array(Class::Count)> class_levels; }; } // namespace Log