mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02: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
@@ -230,7 +230,7 @@ public:
|
||||
MipsCallManager() : idGen_(0) {}
|
||||
u32 add(MipsCall *call) {
|
||||
u32 id = genId();
|
||||
calls_.insert(std::pair<int, MipsCall *>(id, call));
|
||||
calls_.emplace(id, call);
|
||||
return id;
|
||||
}
|
||||
MipsCall *get(u32 id) {
|
||||
|
||||
Reference in new issue
Block a user