mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
MemcardManager: Use unique_ptr over raw pointers
This commit is contained in:
parent
f20113fce2
commit
d72cf81dea
2 changed files with 8 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue