ksat_master #5

Manually merged
muellerr merged 169 commits from ksat_master into master 2020-04-08 19:35:26 +02:00
Showing only changes of commit 8f17d5147e - Show all commits

View File

@ -21,7 +21,7 @@ public:
//is this feasible? //is this feasible?
FixedArrayList(T * data_, count_t count, bool swapArrayListEndianess = false): FixedArrayList(T * data_, count_t count, bool swapArrayListEndianess = false):
ArrayList<T, count_t>(data, MAX_SIZE) { ArrayList<T, count_t>(data, MAX_SIZE) {
memcpy(this->data, data_, count); memcpy(this->data, data_, count * sizeof(T));
this->size = count; this->size = count;
if(swapArrayListEndianess) { if(swapArrayListEndianess) {
ArrayList<T, count_t>::swapArrayListEndianness(); ArrayList<T, count_t>::swapArrayListEndianness();