2 byte table axis #3045

This commit is contained in:
Andrey 2021-12-19 23:17:17 -05:00
parent e80461b03b
commit 0002570791
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ constexpr void clear(T& obj) {
/**
* Copies an array from src to dest. The lengths of the arrays must match.
*/
template <typename TElement, size_t N>
constexpr void copyArray(TElement (&dest)[N], const TElement (&src)[N]) {
template <typename DElement, typename SElement, size_t N>
constexpr void copyArray(DElement (&dest)[N], const SElement (&src)[N]) {
for (size_t i = 0; i < N; i++) {
dest[i] = src[i];
}