diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-10 21:04:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 21:04:23 +0200 |
commit | dcd11faad3802679a43b27155f1b6bc59aa39b60 (patch) | |
tree | b91a7bcb89881e80a105710cd274993c98378029 /scene/resources/segment_shape_2d.h | |
parent | 4d2e50eca6f661c0cfb84a2f0b9c9ccd701a9576 (diff) | |
parent | 26fcf2b04ca48566cee6cf32a2a40e8ea1e40eb4 (diff) |
Merge pull request #40253 from madmiraal/add-override-keywords
Add override keywords.
Diffstat (limited to 'scene/resources/segment_shape_2d.h')
-rw-r--r-- | scene/resources/segment_shape_2d.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/resources/segment_shape_2d.h b/scene/resources/segment_shape_2d.h index 39c297b040..31a61ea564 100644 --- a/scene/resources/segment_shape_2d.h +++ b/scene/resources/segment_shape_2d.h @@ -45,7 +45,7 @@ protected: static void _bind_methods(); public: - virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const; + virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const override; void set_a(const Vector2 &p_a); void set_b(const Vector2 &p_b); @@ -53,9 +53,9 @@ public: Vector2 get_a() const; Vector2 get_b() const; - virtual void draw(const RID &p_to_rid, const Color &p_color); - virtual Rect2 get_rect() const; - virtual real_t get_enclosing_radius() const; + virtual void draw(const RID &p_to_rid, const Color &p_color) override; + virtual Rect2 get_rect() const override; + virtual real_t get_enclosing_radius() const override; SegmentShape2D(); }; |