Fix incorrect access for methods added via the 'using' declaration

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-05-25 21:24:00 +00:00
commit 05dcdca824

View file

@ -2381,8 +2381,6 @@ int Language::usingDeclaration(Node *n) {
Node* np = Copy(n);
Node *c;
for (c = firstChild(np); c; c = nextSibling(c)) {
if (!is_public(c))
Setattr(c, "access", "public");
/* it seems for some cases this is needed, like A* A::boo() */
if (CurrentClass)
Setattr(c, "parentNode", CurrentClass);