This commit is contained in:
1 file changed
+2
-2
@@ -50,9 +50,9 @@ namespace ArbUt {
|
||||
throw std::logic_error(ss.str());
|
||||
}
|
||||
#endif
|
||||
auto item = _vector.at(index);
|
||||
auto item = _vector[index];
|
||||
delete item;
|
||||
_vector.erase(index);
|
||||
_vector.erase(item);
|
||||
}
|
||||
|
||||
inline bool Contains(const BorrowedPtr<ValueT>& value) const {
|
||||
|
||||
Reference in new issue
Block a user