From a2b09bfbd2e771603baf77be95aab128ec3e88ff Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Fri, 23 Aug 2024 15:28:44 +0200 Subject: [PATCH] Remove unused code --- src/ArduinoJson/Array/ArrayData.hpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/ArduinoJson/Array/ArrayData.hpp b/src/ArduinoJson/Array/ArrayData.hpp index 7e15ab19..a35aba5d 100644 --- a/src/ArduinoJson/Array/ArrayData.hpp +++ b/src/ArduinoJson/Array/ArrayData.hpp @@ -51,16 +51,6 @@ class ArrayData : public CollectionData { array->removeElement(index, resources); } - bool copyFrom(const ArrayData& src, ResourceManager* resources); - - static bool copy(ArrayData* dst, const ArrayData* src, - ResourceManager* resources) { - if (!dst || !src) - return false; - - return dst->copyFrom(*src, resources); - } - private: iterator at(size_t index, const ResourceManager* resources) const; };