EIVE upstream #29

Merged
muellerr merged 693 commits from use-eive-upstream into develop 2023-06-30 15:44:39 +02:00
Showing only changes of commit 194b3e100a - Show all commits

View File

@ -20,7 +20,9 @@ class FixedArrayList : public ArrayList<T, count_t> {
FixedArrayList() : ArrayList<T, count_t>(data, MAX_SIZE) {}
FixedArrayList(const FixedArrayList& other) : ArrayList<T, count_t>(data, MAX_SIZE) {
memcpy(this->data, other.data, sizeof(this->data));
for (size_t idx = 0; idx < sizeof(data); idx++) {
data[idx] = other.data[idx];
}
this->entries = data;
this->size = other.size;
}