aoc_u: Extract AccumulateAOCTitleIDs to separate function

This commit is contained in:
Zach Hilman 2018-09-30 21:07:17 -04:00
parent 7d86a008e2
commit f72046099a
2 changed files with 28 additions and 21 deletions

View file

@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <algorithm>
#include <array>
#include <cstddef>
@ -185,7 +186,7 @@ std::map<PatchType, std::string> 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;