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:
parent
c8b57b070e
commit
db525850c1
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ public:
|
|||
return b;
|
||||
}
|
||||
// this one is incorrect B result;
|
||||
const B GetB() const {
|
||||
const B GetBconst() const {
|
||||
return b;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue