diff options
Diffstat (limited to 'scene/resources/text_file.h')
-rw-r--r-- | scene/resources/text_file.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/resources/text_file.h b/scene/resources/text_file.h index 666c088d04..fa812b1e67 100644 --- a/scene/resources/text_file.h +++ b/scene/resources/text_file.h @@ -35,7 +35,6 @@ #include "core/io/resource_saver.h" class TextFile : public Resource { - GDCLASS(TextFile, Resource); private: @@ -46,7 +45,7 @@ public: virtual bool has_text() const; virtual String get_text() const; virtual void set_text(const String &p_code); - virtual void reload_from_file(); + virtual void reload_from_file() override; void set_file_path(const String &p_path) { path = p_path; } Error load_text(const String &p_path); |