summaryrefslogtreecommitdiffstats
path: root/core/io/resource_saver.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/resource_saver.h')
-rw-r--r--core/io/resource_saver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_saver.h b/core/io/resource_saver.h
index 4828df297a..3e0821926a 100644
--- a/core/io/resource_saver.h
+++ b/core/io/resource_saver.h
@@ -70,7 +70,7 @@ class ResourceSaver {
static ResourceSavedCallback save_callback;
static ResourceSaverGetResourceIDForPath save_get_id_for_path;
- static Ref<ResourceFormatSaver> _find_custom_resource_format_saver(String path);
+ static Ref<ResourceFormatSaver> _find_custom_resource_format_saver(const String &path);
public:
enum SaverFlags {
@@ -99,7 +99,7 @@ public:
static void set_save_callback(ResourceSavedCallback p_callback);
static void set_get_resource_id_for_path(ResourceSaverGetResourceIDForPath p_callback);
- static bool add_custom_resource_format_saver(String script_path);
+ static bool add_custom_resource_format_saver(const String &script_path);
static void add_custom_savers();
static void remove_custom_savers();
};