summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar Lioncash2018-09-04 10:44:36 -0400
committerGravatar Lioncash2018-09-04 10:44:36 -0400
commit2949d9552cc3cee6eed810e8205d32446a08e594 (patch)
tree0c95c6a7caef3d086febe1f01bede580b26dff08 /src/common
parentcommon/logging/filter: Make constructor explicit (diff)
downloadyuzu-2949d9552cc3cee6eed810e8205d32446a08e594.tar.gz
yuzu-2949d9552cc3cee6eed810e8205d32446a08e594.tar.xz
yuzu-2949d9552cc3cee6eed810e8205d32446a08e594.zip
common/logging/filter: Replace C-style case with C++ static_cast
Diffstat (limited to 'src/common')
-rw-r--r--src/common/logging/filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/logging/filter.h b/src/common/logging/filter.h
index f13197fc9..f7e3b87c9 100644
--- a/src/common/logging/filter.h
+++ b/src/common/logging/filter.h
@@ -49,6 +49,6 @@ public:
49 bool IsDebug() const; 49 bool IsDebug() const;
50 50
51private: 51private:
52 std::array<Level, (size_t)Class::Count> class_levels; 52 std::array<Level, static_cast<size_t>(Class::Count)> class_levels;
53}; 53};
54} // namespace Log 54} // namespace Log