Fixes for Remove function on UniquePtrList
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5196bed8aa
commit
44fc403fb6
|
@ -50,9 +50,9 @@ namespace ArbUt {
|
||||||
throw std::logic_error(ss.str());
|
throw std::logic_error(ss.str());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
auto item = _vector.at(index);
|
auto item = _vector[index];
|
||||||
delete item;
|
delete item;
|
||||||
_vector.erase(index);
|
_vector.erase(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool Contains(const BorrowedPtr<ValueT>& value) const {
|
inline bool Contains(const BorrowedPtr<ValueT>& value) const {
|
||||||
|
|
Loading…
Reference in New Issue