diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2021-12-25 20:55:02 -0600 |
|---|---|---|
| committer | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2023-09-21 17:27:33 -0500 |
| commit | 9a801f65013396e02c228785d84f9694d4b187c6 (patch) | |
| tree | 035bd4d420b7d81eedacc91b5a8f82a816b039ea /src | |
| parent | 8f31a1ceec7de25ef8fdfcb52c039ad85a9124b3 (diff) | |
Don't overwrite existing Nexus category mappings
Diffstat (limited to 'src')
| -rw-r--r-- | src/categories.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/categories.cpp b/src/categories.cpp index ffc46abc..b1bd899e 100644 --- a/src/categories.cpp +++ b/src/categories.cpp @@ -270,7 +270,7 @@ void CategoryFactory::setNexusCategories(std::vector<CategoryFactory::NexusCateg { m_NexusMap.empty(); for (auto nexusCat : nexusCats) { - m_NexusMap.insert_or_assign(nexusCat.m_ID, nexusCat); + m_NexusMap.emplace(nexusCat.m_ID, nexusCat); } saveCategories(); |
