Ajouté un vector.clear() à la fin pour appeler le destructeur de BlockInfo.
This commit is contained in:
parent
db908f9b16
commit
6d62a36bd3
@ -58,5 +58,7 @@ int main() {
|
||||
for (int index = 0; index < testblock.size(); ++index)
|
||||
testblock[index]->Show();
|
||||
|
||||
testblock.clear();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user