##// END OF EJS Templates
Correction on ArrayData::clear() method
Alexandre Leroux -
r454:c975894e323f
parent child
Show More
@@ -152,10 +152,12 public:
152
152
153 return std::make_shared<ArrayData<Dim> >(std::move(sortedData));
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 void clear()
157 void clear()
156 {
158 {
157 QWriteLocker locker{&m_Lock};
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