forked from mirror/OpenTTD
Codechange: Use std::unique_ptr for all NWidgets.
This commit is contained in:
@@ -1088,7 +1088,6 @@ Window::~Window()
|
||||
assert(*this->z_position == nullptr);
|
||||
|
||||
if (this->viewport != nullptr) DeleteWindowViewport(this);
|
||||
delete this->nested_root;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user