Removed generation of commented-out code
authorBenedikt Tutzer <e1225461@student.tuwien.ac.at>
Mon, 1 Apr 2019 13:05:30 +0000 (15:05 +0200)
committerBenedikt Tutzer <e1225461@student.tuwien.ac.at>
Mon, 1 Apr 2019 13:05:30 +0000 (15:05 +0200)
py_wrap_generator.py

index ec5b4b71a20af46ba9e0dfea54d1922abaf6e4d8..aa2c46b2c4933eb9a2ead10031a39fc3230d25dd 100644 (file)
@@ -803,10 +803,6 @@ class WClass:
                                text += "\n\t\t\treturn ret;"
                                text += "\n\t\t}\n"
 
-                       if self.link_type != link_types.global_list:
-                               text += "\n\t\t~" + self.name + "()\n\t\t{"
-                               text += "\n\t\t\t//delete(this->ref_obj);\n\t\t}\n"
-
                        for con in self.found_constrs:
                                text += con.gen_decl()
                        for var in self.found_vars: