Skip to content
Permalink
Browse files

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).
  • Loading branch information...
lioncash committed May 27, 2019
1 parent 204af41 commit b2b5b01eda6117afa92c5796a26fccf09df5e8ee
Showing with 0 additions and 3 deletions.
  1. +0 −3 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<u8, 4> DEntry::UNINITIALIZED_GAMECODE;

static void ByteSwap(u8* valueA, u8* valueB)
{
u8 tmp = *valueA;

0 comments on commit b2b5b01

Please sign in to comment.
You can’t perform that action at this time.