Drawable Renderer (#1570), remove redundant utility function

This commit is contained in:
Tim Sylvester
2023-06-13 09:32:25 -07:00
committed by Bart Louwers
parent 847360fcb8
commit ec1f308ac3

View File

@@ -23,13 +23,5 @@ void erase_if(Container& container, Predicate pred) {
erase_if(container, container.begin(), pred);
}
template <typename T, std::size_t N, std::size_t M>
auto concat(const std::array<T, N>& a1, const std::array<T, M>& a2) {
std::array<T, N + M> result;
std::copy(a1.cbegin(), a1.cend(), result.begin());
std::copy(a2.cbegin(), a2.cend(), result.begin() + N);
return result;
}
} // namespace util
} // namespace mbgl