From 5845904cb7a3350af8b14f4b76a86bcd82de37a1 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 27 Jul 2023 12:20:25 -0700 Subject: [PATCH] Defined creation_count at 0 --- test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test.cpp b/test.cpp index dde6615..8ea7232 100644 --- a/test.cpp +++ b/test.cpp @@ -1,6 +1,7 @@ #include #include "test.h" +short Test::creation_count = 0; Test::Test(int a) { this->a = a; creation_count++;