diff --git a/Oving 8/Oving 8/MeetingWindow.cpp b/Oving 8/Oving 8/MeetingWindow.cpp index 2b54485..d6e3e99 100644 --- a/Oving 8/Oving 8/MeetingWindow.cpp +++ b/Oving 8/Oving 8/MeetingWindow.cpp @@ -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::iterator it = people.begin(); it != people.end(); ++it) + { + delete (*it); + } + +}*/ diff --git a/Oving 8/Oving 8/MeetingWindow.h b/Oving 8/Oving 8/MeetingWindow.h index df34b01..c559dcb 100644 --- a/Oving 8/Oving 8/MeetingWindow.h +++ b/Oving 8/Oving 8/MeetingWindow.h @@ -48,6 +48,6 @@ public: - virtual ~MeetingWindow() { }; + //~MeetingWindow(); };