summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-09 13:47:59 -0400
committerGravatar Lioncash2018-10-09 14:10:22 -0400
commit465175cdf58fecf9098c702feaf8d000f0952973 (patch)
tree6e55dc8c602b06c0a25447428e3f7d42f9c271ba /src/core/loader/loader.cpp
parentips_layer: Remove unnecessary explicit std::pair constructor in std::array (diff)
downloadyuzu-465175cdf58fecf9098c702feaf8d000f0952973.tar.gz
yuzu-465175cdf58fecf9098c702feaf8d000f0952973.tar.xz
yuzu-465175cdf58fecf9098c702feaf8d000f0952973.zip
ips_layer: Avoid constructing std::vector instances where not necessary
We can just compare the existing std::vector instance with a constexpr std::array containing the desired match. This is lighter resource-wise, as we don't need to allocate on the heap.
Diffstat (limited to 'src/core/loader/loader.cpp')
0 files changed, 0 insertions, 0 deletions