D: Fix allprotected_not.i compilation.
The director cycle breaking code was emitted when protectors were not actually enabled on the parent class, leading to swigIsMethodOverridden being called but not declared.
This commit is contained in:
parent
bb768f5aa5
commit
0b42c6f653
1 changed files with 1 additions and 1 deletions
|
|
@ -2850,7 +2850,7 @@ private:
|
||||||
// polymorphic call or an explicit method call. Needed to prevent infinite
|
// polymorphic call or an explicit method call. Needed to prevent infinite
|
||||||
// recursion when calling director methods.
|
// recursion when calling director methods.
|
||||||
Node *explicit_n = Getattr(n, "explicitcallnode");
|
Node *explicit_n = Getattr(n, "explicitcallnode");
|
||||||
if (explicit_n) {
|
if (explicit_n && Swig_directorclass(getCurrentClass())) {
|
||||||
String *ex_overloaded_name = getOverloadedName(explicit_n);
|
String *ex_overloaded_name = getOverloadedName(explicit_n);
|
||||||
String *ex_intermediary_function_name = Swig_name_member(getNSpace(), proxy_class_name, ex_overloaded_name);
|
String *ex_intermediary_function_name = Swig_name_member(getNSpace(), proxy_class_name, ex_overloaded_name);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue