From 772c80a0382924701e818a05421f31b711eb0edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Carouge?= Date: Sun, 26 Jun 2022 20:56:04 -0700 Subject: [PATCH] AP_Common: class template parameters not compliant in constructor declaration --- libraries/AP_Common/AP_ExpandingArray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Common/AP_ExpandingArray.h b/libraries/AP_Common/AP_ExpandingArray.h index 0c3c9c9714..22fa837b92 100644 --- a/libraries/AP_Common/AP_ExpandingArray.h +++ b/libraries/AP_Common/AP_ExpandingArray.h @@ -83,12 +83,12 @@ class AP_ExpandingArray : public AP_ExpandingArrayGeneric { public: - AP_ExpandingArray(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(const AP_ExpandingArray &other) = delete; + AP_ExpandingArray(const AP_ExpandingArray &other) = delete; AP_ExpandingArray &operator=(const AP_ExpandingArray&) = delete; // allow use as an array for assigning to elements. no bounds checking is performed