Fixes for Remove function on UniquePtrList
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-06-02 14:28:09 +02:00
parent 5196bed8aa
commit 44fc403fb6
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 2 deletions

View File

@ -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 {