When calling Clear on UniquePtrList, also clear the vector.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2021-04-14 19:27:56 +02:00
parent b3ab6dab59
commit 6ef9a6d67b
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ namespace ArbUt {
for (auto& i : _vector) {
delete i;
}
_vector.clear();
}
/// @brief Borrow a pointer at a certain index.

View File

@ -43,6 +43,7 @@ namespace ArbUt {
for (auto& i : _vector) {
delete i;
}
_vector.clear();
}
/// @brief Borrow a pointer at a certain index.