Use default destructor for Object
parent
a44e9aa3f9
commit
1f96a0d16c
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue