mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01:00
common/logging/filter: Replace C-style case with C++ static_cast
This commit is contained in:
parent
787fff9a64
commit
83c32b8d22
@ -46,6 +46,6 @@ public:
|
||||
bool CheckMessage(Class log_class, Level level) const;
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user