From b2b5b01eda6117afa92c5796a26fccf09df5e8ee Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 27 May 2019 11:48:36 -0400 Subject: [PATCH] Core/GCMemcard: Remove obsolete TODO Now that we assume C++17, the in-file definition of the std::array can be removed. This is all that's necessary, as constexpr used on a static member variable implies inline (and so, automatically has C++17's static inline behavior). --- Source/Core/Core/HW/GCMemcard/GCMemcard.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp b/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp index e121b887b0..dad1b6f19b 100644 --- a/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp +++ b/Source/Core/Core/HW/GCMemcard/GCMemcard.cpp @@ -20,9 +20,6 @@ #include "Common/StringUtil.h" #include "Common/Swap.h" -// TODO: Remove when on C++17 everywhere. -constexpr std::array DEntry::UNINITIALIZED_GAMECODE; - static void ByteSwap(u8* valueA, u8* valueB) { u8 tmp = *valueA;