diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-11 12:51:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 12:51:22 +0100 |
commit | 015fdfc28d3709387383b365a91c78dc0fe7aa35 (patch) | |
tree | 16a7a83bd1083ac61e30039db8a573e930ca35b8 /platform/javascript/api/javascript_tools_editor_plugin.cpp | |
parent | 1e099afc8ac420f5c97b07067e28d6309ed55ae7 (diff) | |
parent | 768f9422bc3b1349729b8a50feb8c0797003aee9 (diff) | |
download | redot-engine-015fdfc28d3709387383b365a91c78dc0fe7aa35.tar.gz |
Merge pull request #58986 from akien-mga/diraccessref
Diffstat (limited to 'platform/javascript/api/javascript_tools_editor_plugin.cpp')
-rw-r--r-- | platform/javascript/api/javascript_tools_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/api/javascript_tools_editor_plugin.cpp b/platform/javascript/api/javascript_tools_editor_plugin.cpp index bea54ae1cb..0442a1eaeb 100644 --- a/platform/javascript/api/javascript_tools_editor_plugin.cpp +++ b/platform/javascript/api/javascript_tools_editor_plugin.cpp @@ -124,7 +124,7 @@ void JavaScriptToolsEditorPlugin::_zip_file(String p_path, String p_base_path, z } void JavaScriptToolsEditorPlugin::_zip_recursive(String p_path, String p_base_path, zipFile p_zip) { - DirAccess *dir = DirAccess::open(p_path); + DirAccessRef dir = DirAccess::open(p_path); if (!dir) { WARN_PRINT("Unable to open directory for zipping: " + p_path); return; |