Fixed some stuff

master
Øyvind Skaaden 2019-03-13 14:17:01 +01:00
parent f97dc84a57
commit 44b64fe2e6
2 changed files with 17 additions and 2 deletions

View File

@ -31,6 +31,21 @@ void MeetingWindow::newPers()
{
cout << name.get_string() << " --- " << email.get_string() << endl;
people.push_back(new Person{ name.get_string(), email.get_string() });
redraw();
//redraw();
}
/*
MeetingWindow::~MeetingWindow()
{
/*
for (Person* p : people)
{
delete p;
}
for (Vector_ref<Person>::iterator it = people.begin(); it != people.end(); ++it)
{
delete (*it);
}
}*/

View File

@ -48,6 +48,6 @@ public:
virtual ~MeetingWindow() { };
//~MeetingWindow();
};