aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-20 17:12:24 -0400
committerLioncash <mathew1800@gmail.com>2018-07-20 17:24:06 -0400
commit3c613decdf9a20afa0932bb2c5e468ef2081c550 (patch)
tree5481381f6bd12189653b7ee06ccefe2cee0b9fa1 /src/core/hle/kernel/thread.cpp
parent48ea3bc5fbf98ec49d4d777b1f2a1a703c4b56a1 (diff)
param_package: Use std::unordered_map's insert_or_assign instead of map indexing
This avoids a redundant std::string construction if a key doesn't exist in the map already. e.g. data[key] requires constructing a new default instance of the value in the map (but this is wasteful, since we're already setting something into the map over top of it).
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
0 files changed, 0 insertions, 0 deletions