summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-04-25 17:28:59 +0200
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-04-25 17:45:00 +0200
commitd5841109f0e2986739dd120ec5252b4e230418a5 (patch)
tree2bbee72353f2a2cfb504c464ca520925489998c6 /src/network
parent81d335b081db006ddb883e2452f73984442f9823 (diff)
downloadopenttd-d5841109f0e2986739dd120ec5252b4e230418a5.tar.xz
Fix dcb2571: Missing override keywords
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
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;