removed deletes
authorBenedikt Tutzer <e1225461@student.tuwien.ac.at>
Thu, 25 Oct 2018 13:06:26 +0000 (15:06 +0200)
committerBenedikt Tutzer <e1225461@student.tuwien.ac.at>
Thu, 25 Oct 2018 13:06:26 +0000 (15:06 +0200)
py_wrap_generator.py

index 204b9146c953531e8911b30cdbde3b5ba7d41223..f26c15070ed5504c7a62114fd6a301e56cc0e69c 100644 (file)
@@ -805,7 +805,7 @@ class WClass:
 
                        if self.link_type != link_types.global_list:
                                text += "\n\t\t~" + self.name + "()\n\t\t{"
-                               text += "\n\t\t\tdelete(this->ref_obj);\n\t\t}\n"
+                               text += "\n\t\t\t//delete(this->ref_obj);\n\t\t}\n"
 
                        for con in self.found_constrs:
                                text += con.gen_decl()