WIP: somethings wrong.. #19
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user