Style: Apply clang-tidy to current code, add readability-redundant-member-init

This commit is contained in:
Rémi Verschelde 2022-04-04 18:49:05 +02:00
parent 1abb5ebf65
commit b78aa4fe19
13 changed files with 23 additions and 40 deletions

View file

@ -56,10 +56,7 @@ void Line2DEditor::_action_set_polygon(int p_idx, const Variant &p_previous, con
undo_redo->add_undo_method(node, "set_points", p_previous);
}
Line2DEditor::Line2DEditor() :
AbstractPolygon2DEditor() {
node = nullptr;
}
Line2DEditor::Line2DEditor() {}
Line2DEditorPlugin::Line2DEditorPlugin() :
AbstractPolygon2DEditorPlugin(memnew(Line2DEditor), "Line2D") {