summaryrefslogtreecommitdiff
path: root/src/transfersavesdialog.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-11-18 19:22:05 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2020-11-18 19:22:05 +0100
commite39de4dd2ab6c19c6b9557f99117f7ffc9ed1cc1 (patch)
treece2328253ae603f39cfe995e844b3672341a88d6 /src/transfersavesdialog.h
parentddba54382aab3cb5548485d14c85e2611272f3cb (diff)
Update following addition of IPluginGame::listSaves().
Diffstat (limited to 'src/transfersavesdialog.h')
-rw-r--r--src/transfersavesdialog.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transfersavesdialog.h b/src/transfersavesdialog.h
index b983ad9e..fe78aa83 100644
--- a/src/transfersavesdialog.h
+++ b/src/transfersavesdialog.h
@@ -80,9 +80,10 @@ private:
MOBase::IPluginGame const *m_GamePlugin;
- typedef std::unique_ptr<MOBase::ISaveGame const> SaveListItem;
- typedef std::vector<SaveListItem> SaveList;
- typedef std::map<QString, SaveList> SaveCollection;
+ using SaveListItem = std::shared_ptr<const MOBase::ISaveGame>;
+ using SaveList = std::vector<SaveListItem>;
+ using SaveCollection = std::map<QString, SaveList>;
+
SaveCollection m_GlobalSaves;
SaveCollection m_LocalSaves;