mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00: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:
parent
ccacda5e2c
commit
40b050fe37
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue