summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/script_text_editor.h')
-rw-r--r--editor/plugins/script_text_editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_text_editor.h b/editor/plugins/script_text_editor.h
index c1c4b0af54..b3e0c28bb1 100644
--- a/editor/plugins/script_text_editor.h
+++ b/editor/plugins/script_text_editor.h
@@ -205,8 +205,8 @@ public:
void update_toggle_scripts_button() override;
virtual void apply_code() override;
- virtual RES get_edited_resource() const override;
- virtual void set_edited_resource(const RES &p_res) override;
+ virtual Ref<Resource> get_edited_resource() const override;
+ virtual void set_edited_resource(const Ref<Resource> &p_res) override;
virtual void enable_editor() override;
virtual Vector<String> get_functions() override;
virtual void reload_text() override;