mirror of https://github.com/ArduPilot/ardupilot
AP_Common: class template parameters not compliant in constructor declaration
This commit is contained in:
parent
2228f1407d
commit
772c80a038
|
@ -83,12 +83,12 @@ class AP_ExpandingArray : public AP_ExpandingArrayGeneric
|
|||
{
|
||||
public:
|
||||
|
||||
AP_ExpandingArray<T>(uint16_t elements_per_chunk) :
|
||||
AP_ExpandingArray(uint16_t elements_per_chunk) :
|
||||
AP_ExpandingArrayGeneric(sizeof(T), elements_per_chunk)
|
||||
{}
|
||||
|
||||
/* 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;
|
||||
|
||||
// allow use as an array for assigning to elements. no bounds checking is performed
|
||||
|
|
Loading…
Reference in New Issue