Fixed some stuff
parent
f97dc84a57
commit
44b64fe2e6
|
@ -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);
|
||||
}
|
||||
|
||||
}*/
|
||||
|
||||
|
|
|
@ -48,6 +48,6 @@ public:
|
|||
|
||||
|
||||
|
||||
virtual ~MeetingWindow() { };
|
||||
//~MeetingWindow();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue