VERY experimental Nintendo Switch 2 emulator
C++
common/logging/filter: Replace C-style case with C++ static_cast
Lioncash4209a71953d1
diff --git a/src/common/logging/filter.h b/src/common/logging/filter.hindex f13197fc9f..f7e3b87c97 100644--- a/src/common/logging/filter.h+++ b/src/common/logging/filter.h@@ -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