summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-09 13:47:59 -0400
committerLioncash <mathew1800@gmail.com>2018-10-09 14:10:22 -0400
commit465175cdf58fecf9098c702feaf8d000f0952973 (patch)
tree6e55dc8c602b06c0a25447428e3f7d42f9c271ba /src/common/file_util.cpp
parent9ff743bc0acb63a176cd7c823aa63f5602c41299 (diff)
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/common/file_util.cpp')
0 files changed, 0 insertions, 0 deletions