Logging: Convert an old-style cast to static_cast

This commit is contained in:
Paul "Dettorer" Hervot 2015-11-29 09:43:20 +01:00 committed by Paul Dettorer Hervot
parent b2a9d05cd4
commit b2a73a878d

View file

@ -48,7 +48,7 @@ public:
bool CheckMessage(Class log_class, Level level) const; bool CheckMessage(Class log_class, Level level) const;
private: private:
std::array<Level, (size_t)Class::Count> class_levels; std::array<Level, static_cast<size_t>(Class::Count)> class_levels;
}; };
} }