mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06: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();
|
auto mod_full_path = graphics_mod->GetAbsolutePath();
|
||||||
known_paths.insert(std::move(mod_full_path));
|
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