From f9c8452963813b23e9325297216f201358904470 Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Thu, 7 Apr 2022 17:41:46 +0300 Subject: Update Person.cpp --- Sem. 07/Person/Person.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sem. 07/Person/Person.cpp b/Sem. 07/Person/Person.cpp index 36262a4..eff781d 100644 --- a/Sem. 07/Person/Person.cpp +++ b/Sem. 07/Person/Person.cpp @@ -14,7 +14,7 @@ void Person::free() delete[] name; } -Person::Person(const char* name, int age) : age(3) +Person::Person(const char* name, int age) { setName(name); setAge(age); -- cgit v1.3.1-23-gd82d