From 701abd00586236efd4ad79e297d9450179975949 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 10 Jun 2005 21:20:17 +0000 Subject: [PATCH] typo in example git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7273 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Doc/Manual/SWIGPlus.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SWIG/Doc/Manual/SWIGPlus.html b/SWIG/Doc/Manual/SWIGPlus.html index e8cfc17e8..fb862e8f7 100644 --- a/SWIG/Doc/Manual/SWIGPlus.html +++ b/SWIG/Doc/Manual/SWIGPlus.html @@ -3406,12 +3406,12 @@ in a different namespace. For example:
 namespace foo {
-    template<typename T> max(T a, T b) { return a > b ? a : b; }
+    template<typename T> T max(T a, T b) { return a > b ? a : b; }
 }
 
 using foo::max;
 
-%template(maxint)   max<int>            // Okay.
+%template(maxint)   max<int>;           // Okay.
 %template(maxfloat) foo::max<float>;    // Okay (qualified name).
 
 namespace bar {