common/logging/filter: Replace C-style case with C++ static_cast
This commit is contained in:
parent
978f3a3282
commit
2949d9552c
|
@ -49,6 +49,6 @@ public:
|
||||||
bool IsDebug() const;
|
bool IsDebug() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::array<Level, (size_t)Class::Count> class_levels;
|
std::array<Level, static_cast<size_t>(Class::Count)> class_levels;
|
||||||
};
|
};
|
||||||
} // namespace Log
|
} // namespace Log
|
||||||
|
|
Reference in New Issue