Commit 18dee5dc authored by Xavier Thompson's avatar Xavier Thompson

Fix method qualifiers missing from generated code for c++ type conversion operators

parent 25a0696e
......@@ -1634,7 +1634,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.put("virtual ")
has_virtual_methods = True
if 'operator ' in attr.name:
code.putln("%s();" % attr.cname)
code.putln("%s;" % attr.type.declarator_code(attr.cname))
continue
elif attr.type.is_cyp_class:
cname = "%s = NULL" % cname
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment