1

fix list destructors

This commit is contained in:
2022-07-19 14:56:59 +02:00
parent c319c0b604
commit 2f47dc8f94
3 changed files with 2 additions and 4 deletions

View File

@ -120,7 +120,7 @@ private:
}
public:
~ArrayList() override {
~ArrayList() {
delete[] buf; // Deleting nullptr has no effect
}