mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-22 17:28:45 +00:00
Merge pull request #8131 from lioncash/move
UICommon/ResourcePack/Manager: Resolve use-after-move in Add()
This commit is contained in:
commit
918d707f3f
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ bool Add(const std::string& path, int offset)
|
|||
|
||||
packs.insert(packs.begin() + offset, std::move(pack));
|
||||
|
||||
return pack.IsValid();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Remove(ResourcePack& pack)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue