summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-04 10:44:36 -0400
committerLioncash <mathew1800@gmail.com>2018-09-04 10:44:36 -0400
commit2949d9552cc3cee6eed810e8205d32446a08e594 (patch)
tree0c95c6a7caef3d086febe1f01bede580b26dff08
parent978f3a3282f790f409c682368a4d54072d7d8968 (diff)
common/logging/filter: Replace C-style case with C++ static_cast
-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