summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2021-04-23 09:24:19 -0400
committerGravatar Lioncash2021-04-23 09:24:21 -0400
commit5ba49f188bf39cdfc71a6b78d7d846b4b0725dc3 (patch)
tree39e6a9f9e0310bd98c24a739b9ad0bb757c9637b /src/video_core/gpu.cpp
parentlm: Resolve -Wextra-semi warning (diff)
downloadyuzu-5ba49f188bf39cdfc71a6b78d7d846b4b0725dc3.tar.gz
yuzu-5ba49f188bf39cdfc71a6b78d7d846b4b0725dc3.tar.xz
yuzu-5ba49f188bf39cdfc71a6b78d7d846b4b0725dc3.zip
lm: Prevent redundant map lookups in Log()
We can perform the lookup and then do the contains check by checking the end iterator. The benefit of this is that if we *do* find an entry, then we aren't hashing into the map again to find it. We can also get rid of an unused std::vector temporary while we're at it.
Diffstat (limited to 'src/video_core/gpu.cpp')
0 files changed, 0 insertions, 0 deletions