From 30c9f35549c095aca4872d84c8646299bf65929d 2017-08-07 07:37:28 From: Alexandre Leroux Date: 2017-08-07 07:37:28 Subject: [PATCH] Removes unused setData() method --- diff --git a/core/include/Data/ArrayData.h b/core/include/Data/ArrayData.h index 2c17a9b..258e7f0 100644 --- a/core/include/Data/ArrayData.h +++ b/core/include/Data/ArrayData.h @@ -79,21 +79,6 @@ public: } /** - * Sets a data at a specified index. The index has to be valid to be effective - * @param index the index to which the data will be set - * @param data the data to set - * @remarks this method is only available for a unidimensional ArrayData - */ - template > - void setData(int index, double data) noexcept - { - QWriteLocker locker{&m_Lock}; - if (index >= 0 && index < m_Data.at(0).size()) { - m_Data[0].replace(index, data); - } - } - - /** * @return the data as a vector * @remarks this method is only available for a unidimensional ArrayData */