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 | 5c9c637200a9271e4abdd4c6375e6403dc9f387a (patch) | |
| tree | 6e55dc8c602b06c0a25447428e3f7d42f9c271ba /src/core/core.cpp | |
| parent | d4ffc70268fcfe77901cf6c7a9bbf30fd5e61d9c (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/core/core.cpp')
0 files changed, 0 insertions, 0 deletions
