mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
MemcardManager: Use unique_ptr over raw pointers
This commit is contained in:
@ -4,6 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <wx/dialog.h>
|
||||
#include <wx/listctrl.h>
|
||||
@ -93,7 +95,7 @@ private:
|
||||
NUMBER_OF_COLUMN
|
||||
};
|
||||
|
||||
GCMemcard* memoryCard[2];
|
||||
std::array<std::unique_ptr<GCMemcard>, 2> memoryCard;
|
||||
|
||||
void CreateGUIControls();
|
||||
void CopyDeleteClick(wxCommandEvent& event);
|
||||
|
Reference in New Issue
Block a user