mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
StringUtil: Make SplitString return by value
Simpler usage.
This commit is contained in:
@ -86,8 +86,7 @@ void LoadPatchSection(const std::string& section, std::vector<Patch>& patches, I
|
||||
line[loc] = ':';
|
||||
}
|
||||
|
||||
std::vector<std::string> items;
|
||||
SplitString(line, ':', items);
|
||||
const std::vector<std::string> items = SplitString(line, ':');
|
||||
|
||||
if (items.size() >= 3)
|
||||
{
|
||||
|
Reference in New Issue
Block a user