Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
Bart Louwers
parent
81461bc357
commit
0b7555f473
@@ -17,7 +17,7 @@ MBGL_CONSTEXPR std::array<To, Size> convert(const std::array<From, Size>& from)
|
||||
template <typename To, typename From, std::size_t Size, typename = std::enable_if_t<std::is_assignable_v<To&, From>>>
|
||||
MBGL_CONSTEXPR std::array<To, Size> cast(const std::array<From, Size>& from) {
|
||||
std::array<To, Size> to{{}};
|
||||
std::transform(std::begin(from), std::end(from), std::begin(to), [](From x){ return static_cast<To>(x); });
|
||||
std::transform(std::begin(from), std::end(from), std::begin(to), [](From x) { return static_cast<To>(x); });
|
||||
return to;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user