From ec1ed64832a0e626a2d20c25e5cdcb7aea7ed25c Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Tue, 21 Dec 2021 18:03:18 -0800 Subject: [PATCH] EnumMap: Fix typo --- Source/Core/Common/EnumMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 key) { static_assert(1 << bits == s_size, "Unsafe indexing into EnumMap (may go out of bounds)"); - return m_array[static_cast(key.value())]; + return m_array[static_cast(key.Value())]; } constexpr bool InBounds(T key) const { return static_cast(key) < s_size; }