Use default destructor for Object

pull/626/head
Hennadii Chernyshchyk 2021-09-27 20:24:14 +03:00
parent a44e9aa3f9
commit 1f96a0d16c
No known key found for this signature in database
GPG Key ID: 24623302B8395825
1 changed files with 1 additions and 1 deletions

View File

@ -965,7 +965,7 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us
result.append("\ttemplate<class T>") result.append("\ttemplate<class T>")
result.append("\tstatic T *cast_to(Object *p_object);") result.append("\tstatic T *cast_to(Object *p_object);")
result.append("\tvirtual ~Object() {};") result.append("\tvirtual ~Object() = default;")
elif use_template_get_node and class_name == "Node": elif use_template_get_node and class_name == "Node":
result.append("\ttemplate<class T>") result.append("\ttemplate<class T>")
result.append( result.append(