BernardoGiordano / Checkpoint

Fast and simple homebrew save manager for 3DS and Switch.
GNU General Public License v3.0
2.55k stars 150 forks source link

Add an include to fix a 3ds build failure on Windows. #462

Open mrhappyasthma opened 2 years ago

mrhappyasthma commented 2 years ago

Let me know if there's some more appropriate fix. But this seems to have resolved the 3ds build for me.

M:/GitHub/Checkpoint/3ds/source/spi.cpp:47:13: error: 'vector' in namespace 'std' does not name a template type
   47 | static std::vector<u32> knownJEDECs = {0x204012, 0x621600, 0x204013, 0x621100, 0x204014, 0x202017, 0x204017, 0x208013};
      |             ^~~~~~
M:/GitHub/Checkpoint/3ds/source/spi.cpp:46:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
   45 | #include "spi.hpp"
  +++ |+#include <vector>
   46 |