Warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
182debe39a
commit
05a57239d0
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ void emit_action(Node *n, Wrapper *f) {
|
|||
* to add an extra dynamic_cast to call the public C++ wrapper in the director class.
|
||||
* Also for non-static protected members when the allprotected option is on. */
|
||||
// TODO: why is the storage element removed in staticmemberfunctionHandler ??
|
||||
if (!is_public(n) && (is_member_director(n) || GetFlag(n, "explicitcall")) ||
|
||||
if ((!is_public(n) && (is_member_director(n) || GetFlag(n, "explicitcall"))) ||
|
||||
(is_non_virtual_protected_access(n) && !(checkAttribute(n, "staticmemberfunctionHandler:storage", "static") ||
|
||||
checkAttribute(n, "storage", "static"))
|
||||
&& !Equal(nodeType(n), "constructor"))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue