diff options
Diffstat (limited to 'modules/zip/zip_reader.h')
-rw-r--r-- | modules/zip/zip_reader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/zip/zip_reader.h b/modules/zip/zip_reader.h index 0f78352e3f..874bd81ed3 100644 --- a/modules/zip/zip_reader.h +++ b/modules/zip/zip_reader.h @@ -46,12 +46,12 @@ protected: static void _bind_methods(); public: - Error open(String p_path); + Error open(const String &p_path); Error close(); PackedStringArray get_files(); - PackedByteArray read_file(String p_path, bool p_case_sensitive); - bool file_exists(String p_path, bool p_case_sensitive); + PackedByteArray read_file(const String &p_path, bool p_case_sensitive); + bool file_exists(const String &p_path, bool p_case_sensitive); ZIPReader(); ~ZIPReader(); |