mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +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
@@ -339,7 +339,7 @@ void AddAddressBreakpoint(u32 addr, bool temp) {
|
||||
} else {
|
||||
// Remove the temporary marking.
|
||||
breakPCsTemp.erase(addr);
|
||||
breakPCs.insert(std::make_pair(addr, BreakpointInfo{}));
|
||||
breakPCs.emplace(addr, BreakpointInfo{});
|
||||
}
|
||||
|
||||
breakPCsCount = breakPCs.size();
|
||||
|
||||
Reference in new issue
Block a user