Skip to content
Permalink
Browse files

Merge pull request #8131 from lioncash/move

UICommon/ResourcePack/Manager: Resolve use-after-move in Add()
  • Loading branch information...
leoetlino committed May 29, 2019
2 parents 0cfdcf4 + 4d2e0c7 commit 918d707f3f74cc94e72b55ba593dffaaf299f5b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/UICommon/ResourcePack/Manager.cpp
@@ -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)

0 comments on commit 918d707

Please sign in to comment.
You can’t perform that action at this time.