From 6d62a36bd3897c2ae90ada0348e388968eabca70 Mon Sep 17 00:00:00 2001 From: Marc-Eric Martel <1205697@etu.cegepsth.qc.ca> Date: Fri, 17 Sep 2021 10:12:08 -0400 Subject: [PATCH] =?UTF-8?q?Ajout=C3=A9=20un=20vector.clear()=20=C3=A0=20la?= =?UTF-8?q?=20fin=20pour=20appeler=20le=20destructeur=20de=20BlockInfo.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SQCSim2021/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SQCSim2021/main.cpp b/SQCSim2021/main.cpp index b0a9488..920ebbf 100644 --- a/SQCSim2021/main.cpp +++ b/SQCSim2021/main.cpp @@ -58,5 +58,7 @@ int main() { for (int index = 0; index < testblock.size(); ++index) testblock[index]->Show(); + testblock.clear(); + return 0; }