From a0072ba39fb19158564322ae3f4595512a0c34dc Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 27 Jul 2022 17:34:12 -0500 Subject: Make some editor export methods const --- platform/javascript/export/export_plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/javascript/export/export_plugin.h') diff --git a/platform/javascript/export/export_plugin.h b/platform/javascript/export/export_plugin.h index e6ca5976df..fbaa3615cb 100644 --- a/platform/javascript/export/export_plugin.h +++ b/platform/javascript/export/export_plugin.h @@ -110,7 +110,7 @@ class EditorExportPlatformJavaScript : public EditorExportPlatform { static void _server_thread_poll(void *data); public: - virtual void get_preset_features(const Ref &p_preset, List *r_features) override; + virtual void get_preset_features(const Ref &p_preset, List *r_features) const override; virtual void get_export_options(List *r_options) override; @@ -130,7 +130,7 @@ public: virtual Error run(const Ref &p_preset, int p_option, int p_debug_flags) override; virtual Ref get_run_icon() const override; - virtual void get_platform_features(List *r_features) override { + virtual void get_platform_features(List *r_features) const override { r_features->push_back("web"); r_features->push_back(get_os_name().to_lower()); } -- cgit v1.2.3