summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-12-29 16:37:24 -0500
committerLioncash <mathew1800@gmail.com>2020-12-29 19:32:18 -0500
commit0e91470828769bd68b1f3ee59d5616bcf3f129df (patch)
tree446f979d9b82ff07b73ad000a337b48f424a899e /Source/Core/Common/FileUtil.cpp
parentba0540b9c5b13093fd7ca2443621dc59e5a582cb (diff)
IOS: Make use of insert_or_assign with AddDevice()
operator[] performs a default construction if an object at the given key doesn't exist before overwriting it with the one we provide in operator= insert_or_assign performs optimal insertion by avoiding the default construction if an entry doesn't exist. Not a game changer, but it is essentially a "free" change.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions