mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back'
This commit is contained in:
1 parent
c953bf7fc7
commit
3cdf72b68b
20 files changed
+49
-49
No files matched your search
@@ -144,7 +144,7 @@ namespace W32Util
|
||||
files.push_back(directory);
|
||||
} else {
|
||||
while (*temp) {
|
||||
files.push_back(directory + "\\" + ConvertWStringToUTF8(temp));
|
||||
files.emplace_back(directory + "\\" + ConvertWStringToUTF8(temp));
|
||||
temp += wcslen(temp) + 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user