|
|
@ -83,12 +83,12 @@ class AP_ExpandingArray : public AP_ExpandingArrayGeneric |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
|
|
|
|
|
|
|
|
|
AP_ExpandingArray<T>(uint16_t elements_per_chunk) : |
|
|
|
AP_ExpandingArray(uint16_t elements_per_chunk) : |
|
|
|
AP_ExpandingArrayGeneric(sizeof(T), elements_per_chunk) |
|
|
|
AP_ExpandingArrayGeneric(sizeof(T), elements_per_chunk) |
|
|
|
{} |
|
|
|
{} |
|
|
|
|
|
|
|
|
|
|
|
/* Do not allow copies */ |
|
|
|
/* Do not allow copies */ |
|
|
|
AP_ExpandingArray<T>(const AP_ExpandingArray<T> &other) = delete; |
|
|
|
AP_ExpandingArray(const AP_ExpandingArray<T> &other) = delete; |
|
|
|
AP_ExpandingArray<T> &operator=(const AP_ExpandingArray<T>&) = delete; |
|
|
|
AP_ExpandingArray<T> &operator=(const AP_ExpandingArray<T>&) = delete; |
|
|
|
|
|
|
|
|
|
|
|
// allow use as an array for assigning to elements. no bounds checking is performed
|
|
|
|
// allow use as an array for assigning to elements. no bounds checking is performed
|
|
|
|