From c45364bd6b1d51e1b695727a1ddea969a0921070 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Wed, 7 May 2003 18:55:28 +0000 Subject: [PATCH] Method name change as SWIG can't overload the return type when the difference is just 'const'. Perhaps SWIG ought to emit a warning for this though? git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4770 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/valuewrapper_const.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/test-suite/valuewrapper_const.i b/Examples/test-suite/valuewrapper_const.i index 1f9397120..db1c807c8 100644 --- a/Examples/test-suite/valuewrapper_const.i +++ b/Examples/test-suite/valuewrapper_const.i @@ -21,7 +21,7 @@ public: return b; } // this one is incorrect B result; - const B GetB() const { + const B GetBconst() const { return b; } };