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