diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-10-09 13:47:59 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-10-09 14:10:22 -0400 |
| commit | 465175cdf58fecf9098c702feaf8d000f0952973 (patch) | |
| tree | 6e55dc8c602b06c0a25447428e3f7d42f9c271ba /hooks | |
| parent | 9ff743bc0acb63a176cd7c823aa63f5602c41299 (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 'hooks')
0 files changed, 0 insertions, 0 deletions
