]> git.saurik.com Git - wxWidgets.git/commitdiff
Open Watcom doesn't like typename, use class (patch 826812)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Oct 2003 17:43:08 +0000 (17:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Oct 2003 17:43:08 +0000 (17:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 06cc68c76665650c05f4f0861bcc2f1148f6d1b5..d4028a9f32331ad3c21ac6239eeafef0b80b107a 100644 (file)
@@ -457,7 +457,7 @@ typedef int wxWindowID;
 
 // sometimes the value of a variable is *really* not used, to suppress  the
 // resulting warning you may pass it to this function
-template <typename T>
+template <class T>
 inline void wxUnusedVar(const T& WXUNUSED(t)) { }
 
 // ----------------------------------------------------------------------------