diff options
| author | 2018-10-09 13:47:59 -0400 | |
|---|---|---|
| committer | 2018-10-09 14:10:22 -0400 | |
| commit | 465175cdf58fecf9098c702feaf8d000f0952973 (patch) | |
| tree | 6e55dc8c602b06c0a25447428e3f7d42f9c271ba /src/core/loader/loader.cpp | |
| parent | ips_layer: Remove unnecessary explicit std::pair constructor in std::array (diff) | |
| download | yuzu-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