diff --git a/core/include/Data/ArrayData.h b/core/include/Data/ArrayData.h index 1c798f9..08bbcb4 100644 --- a/core/include/Data/ArrayData.h +++ b/core/include/Data/ArrayData.h @@ -235,22 +235,21 @@ public: m_Data, m_NbComponents, false)}}; } - // ///////////// // - // 1-dim methods // - // ///////////// // /** * @return the data at a specified index * @remarks index must be a valid position - * @remarks this method is only available for a unidimensional ArrayData */ - template > double at(int index) const noexcept { QReadLocker locker{&m_Lock}; return m_Data.at(index); } + // ///////////// // + // 1-dim methods // + // ///////////// // + /** * @return the data as a vector, as a const reference * @remarks this method is only available for a unidimensional ArrayData @@ -259,32 +258,6 @@ public: const QVector &cdata() const noexcept { QReadLocker locker{&m_Lock}; - return m_Data.at(0); - } - - /** - * @return the data as a vector - * @remarks this method is only available for a unidimensional ArrayData - */ - template > - QVector data() const noexcept - { - QReadLocker locker{&m_Lock}; - return m_Data[0]; - } - - // ///////////// // - // 2-dim methods // - // ///////////// // - - /** - * @return the data - * @remarks this method is only available for a two-dimensional ArrayData - */ - template > - DataContainer data() const noexcept - { - QReadLocker locker{&m_Lock}; return m_Data; }