citra-emu
/
citra-canary
Archived
1
0
Fork 0

common/logging/filter: Replace C-style case with C++ static_cast

This commit is contained in:
Lioncash 2018-09-04 10:44:36 -04:00 committed by fearlessTobi
parent 787fff9a64
commit 83c32b8d22
1 changed files with 1 additions and 1 deletions

View File

@ -46,6 +46,6 @@ public:
bool CheckMessage(Class log_class, Level level) const; bool CheckMessage(Class log_class, Level level) const;
private: private:
std::array<Level, (std::size_t)Class::Count> class_levels; std::array<Level, static_cast<std::size_t>(Class::Count)> class_levels;
}; };
} // namespace Log } // namespace Log