mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
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:
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user