summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-09-19 14:41:43 +0000
committeralberth <alberth@openttd.org>2009-09-19 14:41:43 +0000
commit89df436f84707182456461e3259e053303feb846 (patch)
tree1c7b51ea691c066ff45ffc5a595748caef1145d7 /src/window_gui.h
parent1497cf7e0140616ce6e29e0284eabdb862924482 (diff)
downloadopenttd-89df436f84707182456461e3259e053303feb846.tar.xz
(svn r17578) -Fix (r17572): Some compilers don't like default function template arguments.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index e697a344a..73e8e06b2 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -398,7 +398,7 @@ public:
Window *z_front; ///< The window in front of us in z-order.
Window *z_back; ///< The window behind us in z-order.
- template <class NWID = NWidgetBase>
+ template <class NWID>
inline NWID *GetWidget(uint widnum) const;