From d5841109f0e2986739dd120ec5252b4e230418a5 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Thu, 25 Apr 2019 17:28:59 +0200 Subject: Fix dcb2571: Missing override keywords --- src/misc_gui.cpp | 2 +- src/network/network_gui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 0566fffc3..86c17cdcc 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1003,7 +1003,7 @@ struct QueryStringWindow : public Window } } - virtual void DrawWidget(const Rect &r, int widget) const + void DrawWidget(const Rect &r, int widget) const override { if (widget != WID_QS_WARNING) return; diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index d39b61dbf..6486f4531 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -2193,7 +2193,7 @@ struct NetworkCompanyPasswordWindow : public Window { } } - virtual void DrawWidget(const Rect &r, int widget) const + void DrawWidget(const Rect &r, int widget) const override { if (widget != WID_NCP_WARNING) return; -- cgit v1.2.3-70-g09d2