diff options
author | alberth <alberth@openttd.org> | 2009-09-19 14:41:43 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-09-19 14:41:43 +0000 |
commit | 89df436f84707182456461e3259e053303feb846 (patch) | |
tree | 1c7b51ea691c066ff45ffc5a595748caef1145d7 /src/window_gui.h | |
parent | 1497cf7e0140616ce6e29e0284eabdb862924482 (diff) | |
download | openttd-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.h | 2 |
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; |