mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 02:00:36 +03:00
assignDkeys: use flat_set<ReportID>, not set
This commit is contained in:
committed by
Matthew Barr
parent
8dac64d1dc
commit
da23e8306a
@@ -128,11 +128,9 @@ vector<ReportID> ReportManager::getDkeyToReportTable() const {
|
||||
}
|
||||
|
||||
void ReportManager::assignDkeys(const RoseBuild *rose) {
|
||||
unique_ptr<RoseDedupeAux> dedupe = rose->generateDedupeAux();
|
||||
|
||||
DEBUG_PRINTF("assigning...\n");
|
||||
|
||||
map<u32, set<ReportID>> ext_to_int;
|
||||
map<u32, ue2::flat_set<ReportID>> ext_to_int;
|
||||
|
||||
for (u32 i = 0; i < reportIds.size(); i++) {
|
||||
const Report &ir = reportIds[i];
|
||||
@@ -143,6 +141,8 @@ void ReportManager::assignDkeys(const RoseBuild *rose) {
|
||||
}
|
||||
}
|
||||
|
||||
auto dedupe = rose->generateDedupeAux();
|
||||
|
||||
for (const auto &m : ext_to_int) {
|
||||
u32 ext = m.first;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user