summaryrefslogtreecommitdiff
path: root/src/common/memory_detect.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-06-09 18:27:59 -0300
committerGravatar ReinUsesLisp2020-06-09 18:30:49 -0300
commit6508cdd00351e51c7d5867c00da60781c133ade8 (patch)
tree4d86ffb3c43a37418235df2d980252bc9b3660b3 /src/common/memory_detect.cpp
parentMerge pull request #4040 from ReinUsesLisp/nv-transform-feedback (diff)
downloadyuzu-6508cdd00351e51c7d5867c00da60781c133ade8.tar.gz
yuzu-6508cdd00351e51c7d5867c00da60781c133ade8.tar.xz
yuzu-6508cdd00351e51c7d5867c00da60781c133ade8.zip
buffer_cache: Avoid passing references of shared pointers and misc style changes
Instead of using as template argument a shared pointer, use the underlying type and manage shared pointers explicitly. This can make removing shared pointers from the cache more easy. While we are at it, make some misc style changes and general improvements (like insert_or_assign instead of operator[] + operator=).
Diffstat (limited to 'src/common/memory_detect.cpp')
0 files changed, 0 insertions, 0 deletions