From f72046099ac1bce64017e6940daba6ee2ce8e9fb Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Sun, 30 Sep 2018 21:07:17 -0400 Subject: aoc_u: Extract AccumulateAOCTitleIDs to separate function --- src/core/file_sys/patch_manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/file_sys/patch_manager.cpp') diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index ceb462ec4..57b7741f8 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp @@ -2,6 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include #include #include @@ -185,7 +186,7 @@ std::map PatchManager::GetPatchVersionNames() const { list += fmt::format("{}", dlc_match.back().title_id & 0x7FF); - out[PatchType::DLC] = list; + out.insert_or_assign(PatchType::DLC, std::move(list)); } return out; -- cgit v1.2.3