Commit 3f208dde authored by Robert Bradshaw's avatar Robert Bradshaw

Emit class closing bracket on new line.

parent 53f51bae
...@@ -898,7 +898,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -898,7 +898,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
has_destructor = True has_destructor = True
code.putln("%s;" % attr.type.declaration_code(attr.cname)) code.putln("%s;" % attr.type.declaration_code(attr.cname))
if has_virtual_methods and not has_destructor: if has_virtual_methods and not has_destructor:
code.put("virtual ~%s() { }" % type.cname) code.putln("virtual ~%s() { }" % type.cname)
code.putln("};") code.putln("};")
def generate_enum_definition(self, entry, code): def generate_enum_definition(self, entry, code):
......
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