mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
common/logging/filter: Replace C-style case with C++ static_cast
This commit is contained in:
parent
978f3a3282
commit
2949d9552c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue