diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-12-21 18:03:18 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-08-28 22:38:35 -0700 |
| commit | ec1ed64832a0e626a2d20c25e5cdcb7aea7ed25c (patch) | |
| tree | 51bbe764498398d27f1f93a2ad54368c07304e0b /Source/Core | |
| parent | 6d61e6a60135fa4faa849a757d29e5c26d8c8374 (diff) | |
EnumMap: Fix typo
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/EnumMap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/EnumMap.h b/Source/Core/Common/EnumMap.h index 478ff42ec7..1418c1f01e 100644 --- a/Source/Core/Common/EnumMap.h +++ b/Source/Core/Common/EnumMap.h @@ -58,7 +58,7 @@ public: constexpr V& operator[](BitField<position, bits, T, StorageType> key) { static_assert(1 << bits == s_size, "Unsafe indexing into EnumMap (may go out of bounds)"); - return m_array[static_cast<std::size_t>(key.value())]; + return m_array[static_cast<std::size_t>(key.Value())]; } constexpr bool InBounds(T key) const { return static_cast<std::size_t>(key) < s_size; } |
