diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-08 13:59:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-08 13:59:46 +0100 |
| commit | edb3686ee2379ad28d1273797db8bd9ded38ff1e (patch) | |
| tree | 8ce43d22ff6d644a8b59b42b9f8d2003d03ef1a8 /core | |
| parent | 360cfeedacba971b255c68f7e061f2356bdb3135 (diff) | |
| parent | a2118129321e4e4868f0ef2dd2b21699a98a126e (diff) | |
| download | redot-engine-edb3686ee2379ad28d1273797db8bd9ded38ff1e.tar.gz | |
Merge pull request #44190 from touilleMan/constify-ScriptLanguage.can_inherit_from_file
Constify ScriptLanguage.can_inherit_from_file
Diffstat (limited to 'core')
| -rw-r--r-- | core/object/script_language.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/script_language.h b/core/object/script_language.h index 72586780ae..ddd884a4f3 100644 --- a/core/object/script_language.h +++ b/core/object/script_language.h @@ -316,7 +316,7 @@ public: virtual bool has_named_classes() const = 0; virtual bool supports_builtin_mode() const = 0; virtual bool supports_documentation() const { return false; } - virtual bool can_inherit_from_file() { return false; } + virtual bool can_inherit_from_file() const { return false; } virtual int find_function(const String &p_function, const String &p_code) const = 0; virtual String make_function(const String &p_class, const String &p_name, const PackedStringArray &p_args) const = 0; virtual Error open_in_external_editor(const Ref<Script> &p_script, int p_line, int p_col) { return ERR_UNAVAILABLE; } |
