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@4770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-05-07 18:55:28 +00:00
commit db525850c1

View file

@ -21,7 +21,7 @@ public:
return b;
}
// this one is incorrect B result;
const B GetB() const {
const B GetBconst() const {
return b;
}
};