Drawable Renderer (#1570), remove redundant utility function
This commit is contained in:
committed by
Bart Louwers
parent
847360fcb8
commit
ec1f308ac3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user