Merge pull request #626 from Shatur/use-default

pull/631/head
Rémi Verschelde 2021-09-28 09:11:39 +02:00 committed by GitHub
commit 5826fd5259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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("\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":
result.append("\ttemplate<class T>")
result.append(