summaryrefslogtreecommitdiffstats
path: root/scene/main
diff options
context:
space:
mode:
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/canvas_item.h16
-rw-r--r--scene/main/instance_placeholder.cpp2
-rw-r--r--scene/main/window.h2
3 files changed, 10 insertions, 10 deletions
diff --git a/scene/main/canvas_item.h b/scene/main/canvas_item.h
index 028c2cb2cf..5c4477234b 100644
--- a/scene/main/canvas_item.h
+++ b/scene/main/canvas_item.h
@@ -211,20 +211,20 @@ public:
virtual Size2 _edit_get_scale() const = 0;
// Used to rotate the node
- virtual bool _edit_use_rotation() const { return false; };
+ virtual bool _edit_use_rotation() const { return false; }
virtual void _edit_set_rotation(real_t p_rotation) {}
- virtual real_t _edit_get_rotation() const { return 0.0; };
+ virtual real_t _edit_get_rotation() const { return 0.0; }
// Used to resize/move the node
- virtual bool _edit_use_rect() const { return false; }; // MAYBE REPLACE BY A _edit_get_editmode()
+ virtual bool _edit_use_rect() const { return false; } // MAYBE REPLACE BY A _edit_get_editmode()
virtual void _edit_set_rect(const Rect2 &p_rect) {}
- virtual Rect2 _edit_get_rect() const { return Rect2(0, 0, 0, 0); };
- virtual Size2 _edit_get_minimum_size() const { return Size2(-1, -1); }; // LOOKS WEIRD
+ virtual Rect2 _edit_get_rect() const { return Rect2(0, 0, 0, 0); }
+ virtual Size2 _edit_get_minimum_size() const { return Size2(-1, -1); } // LOOKS WEIRD
// Used to set a pivot
- virtual bool _edit_use_pivot() const { return false; };
+ virtual bool _edit_use_pivot() const { return false; }
virtual void _edit_set_pivot(const Point2 &p_pivot) {}
- virtual Point2 _edit_get_pivot() const { return Point2(); };
+ virtual Point2 _edit_get_pivot() const { return Point2(); }
virtual Transform2D _edit_get_transform() const;
#endif
@@ -375,7 +375,7 @@ public:
TextureRepeat get_texture_repeat_in_tree() const;
// Used by control nodes to retrieve the parent's anchorable area
- virtual Rect2 get_anchorable_rect() const { return Rect2(0, 0, 0, 0); };
+ virtual Rect2 get_anchorable_rect() const { return Rect2(0, 0, 0, 0); }
int get_canvas_layer() const;
CanvasLayer *get_canvas_layer_node() const;
diff --git a/scene/main/instance_placeholder.cpp b/scene/main/instance_placeholder.cpp
index 29166f3d92..9222ce6df3 100644
--- a/scene/main/instance_placeholder.cpp
+++ b/scene/main/instance_placeholder.cpp
@@ -245,7 +245,7 @@ Dictionary InstancePlaceholder::get_stored_values(bool p_with_order) {
}
return ret;
-};
+}
void InstancePlaceholder::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_stored_values", "with_order"), &InstancePlaceholder::get_stored_values, DEFVAL(false));
diff --git a/scene/main/window.h b/scene/main/window.h
index 6517350b78..0994fc6012 100644
--- a/scene/main/window.h
+++ b/scene/main/window.h
@@ -374,7 +374,7 @@ public:
bool is_wrapping_controls() const;
void child_controls_changed();
- Window *get_exclusive_child() const { return exclusive_child; };
+ Window *get_exclusive_child() const { return exclusive_child; }
Window *get_parent_visible_window() const;
Viewport *get_parent_viewport() const;