add death date

This commit is contained in:
vrd
2022-09-17 20:44:44 +03:00
parent 1bf0a7f6a4
commit f69d0cbc2f
8 changed files with 43 additions and 28 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ bool Tree::loadTree()
return 1;
}
void Tree::addPerson(const char *name, BirthTime birth, bool isMale, unsigned father, unsigned mother)
void Tree::addPerson(const char *name, EventTime birth, bool isMale, unsigned father, unsigned mother)
{
Person newPerson(name, birth, isMale);
people.push(newPerson);