mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-04 11:02:34 +01:00
Codechange: Use std::unique_ptr for all NWidgets.
This commit is contained in:
committed by
Peter Nelson
parent
9a3934ae23
commit
7124b4eef1
@@ -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