removed conditional requirement for delete in LogWindow.cpp destructor

This commit is contained in:
KTRosenberg 2017-08-07 18:45:36 -04:00
parent 5559000db5
commit e691c13cf8

View File

@ -59,9 +59,7 @@ LogWindow::LogWindow(IWindow *parent)
}
LogWindow::~LogWindow() {
if (this->adapter != nullptr) {
delete this->adapter;
}
delete this->adapter;
}
IScrollAdapter& LogWindow::GetScrollAdapter() {