@@ -152,10 +152,12 public: | |||
|
152 | 152 | |
|
153 | 153 | return std::make_shared<ArrayData<Dim> >(std::move(sortedData)); |
|
154 | 154 | } |
|
155 | ||
|
156 | template <int D = Dim, typename = std::enable_if_t<D == 1> > | |
|
155 | 157 | void clear() |
|
156 | 158 | { |
|
157 | 159 | QWriteLocker locker{&m_Lock}; |
|
158 | m_Data.clear(); | |
|
160 | m_Data[0].clear(); | |
|
159 | 161 | } |
|
160 | 162 | |
|
161 | 163 |
General Comments 0
You need to be logged in to leave comments.
Login now