mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
StringUtil: Make SplitString return by value
Simpler usage.
This commit is contained in:
parent
937d72e591
commit
17ef4c8046
11 changed files with 19 additions and 34 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue