summaryrefslogtreecommitdiff
path: root/src/categories.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/categories.cpp')
-rw-r--r--src/categories.cpp2
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();