diff options
| author | 2018-09-04 10:44:36 -0400 | |
|---|---|---|
| committer | 2018-09-04 10:44:36 -0400 | |
| commit | 2949d9552cc3cee6eed810e8205d32446a08e594 (patch) | |
| tree | 0c95c6a7caef3d086febe1f01bede580b26dff08 /src/common | |
| parent | common/logging/filter: Make constructor explicit (diff) | |
| download | yuzu-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.h | 2 |
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 | ||
| 51 | private: | 51 | private: |
| 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 |