1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Style: Apply clang-tidy's modernize-use-default-member-init

This commit is contained in:
Rémi Verschelde
2021-04-05 13:36:41 +02:00
parent 0f0c0e5933
commit 65a2888057
8 changed files with 62 additions and 99 deletions

View File

@@ -130,7 +130,7 @@ AnimationCurve::~AnimationCurve() {
AnimationCurveNode::AnimationCurveNode(uint64_t id, const ElementPtr element, const std::string &name,
const Document &doc, const char *const *target_prop_whitelist /*= NULL*/,
size_t whitelist_size /*= 0*/) :
Object(id, element, name), target(), doc(doc) {
Object(id, element, name), doc(doc) {
const ScopePtr sc = GetRequiredScope(element);
// find target node