Fix wrapping of virtual comparison operators with directors

Closes #1642.
This commit is contained in:
Zackery Spytz 2020-06-05 10:25:20 -06:00
commit 4e57c5536d
4 changed files with 28 additions and 4 deletions

View file

@ -175,10 +175,6 @@ String *Swig_method_decl(SwigType *return_base_type, SwigType *decl, const_Strin
if (qualifiers)
Printv(result, " ", qualifiers, NIL);
// Reformat result to how it has been historically
Replaceall(result, ",", ", ");
Replaceall(result, "=", " = ");
Delete(args_string);
Delete(popped_decl);
Delete(qualifiers);