GraphicsModGroup: std::move graphics_mod in Load()

The config object is quite heavyweight, so we should move this instead
of copying.
This commit is contained in:
Lioncash 2024-01-31 12:27:40 -05:00
parent ccacda5e2c
commit 40b050fe37
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void GraphicsModGroupConfig::Load()
auto mod_full_path = graphics_mod->GetAbsolutePath();
known_paths.insert(std::move(mod_full_path));
m_graphics_mods.push_back(*graphics_mod);
m_graphics_mods.push_back(std::move(*graphics_mod));
}
}
}