You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Add override keywords.
This commit is contained in:
@@ -43,7 +43,7 @@ class TextureEditor : public Control {
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
void _gui_input(Ref<InputEvent> p_event);
|
||||
void _changed_callback(Object *p_changed, const char *p_prop);
|
||||
void _changed_callback(Object *p_changed, const char *p_prop) override;
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
@@ -56,15 +56,15 @@ class EditorInspectorPluginTexture : public EditorInspectorPlugin {
|
||||
GDCLASS(EditorInspectorPluginTexture, EditorInspectorPlugin);
|
||||
|
||||
public:
|
||||
virtual bool can_handle(Object *p_object);
|
||||
virtual void parse_begin(Object *p_object);
|
||||
virtual bool can_handle(Object *p_object) override;
|
||||
virtual void parse_begin(Object *p_object) override;
|
||||
};
|
||||
|
||||
class TextureEditorPlugin : public EditorPlugin {
|
||||
GDCLASS(TextureEditorPlugin, EditorPlugin);
|
||||
|
||||
public:
|
||||
virtual String get_name() const { return "Texture2D"; }
|
||||
virtual String get_name() const override { return "Texture2D"; }
|
||||
|
||||
TextureEditorPlugin(EditorNode *p_node);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user