diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-04 10:44:36 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-04 10:44:36 -0400 |
commit | 2949d9552cc3cee6eed810e8205d32446a08e594 (patch) | |
tree | 0c95c6a7caef3d086febe1f01bede580b26dff08 /src/common | |
parent | 978f3a3282f790f409c682368a4d54072d7d8968 (diff) |
common/logging/filter: Replace C-style case with C++ static_cast
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/logging/filter.h | 2 |
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 |