Add override

This commit is contained in:
Kevin Sawicki 2016-12-20 16:21:48 -08:00
parent 87f09131aa
commit 8c5f26373b

View file

@ -148,7 +148,7 @@ class GtkMessageBox : public NativeWindowObserver {
Show(); Show();
} }
void OnWindowClosed() { void OnWindowClosed() override {
parent_->RemoveObserver(this); parent_->RemoveObserver(this);
parent_ = nullptr; parent_ = nullptr;
} }