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/osx | |
parent | 1e099afc8ac420f5c97b07067e28d6309ed55ae7 (diff) | |
parent | 768f9422bc3b1349729b8a50feb8c0797003aee9 (diff) |
Merge pull request #58986 from akien-mga/diraccessref
Diffstat (limited to 'platform/osx')
-rw-r--r-- | platform/osx/export/codesign.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/osx/export/codesign.cpp b/platform/osx/export/codesign.cpp index 1a2ad2bee6..b609a21c44 100644 --- a/platform/osx/export/codesign.cpp +++ b/platform/osx/export/codesign.cpp @@ -1208,7 +1208,7 @@ Error CodeSign::_codesign_file(bool p_use_hardened_runtime, bool p_force, const String id; String main_exe = p_exe_path; - DirAccess *da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM); + DirAccessRef da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM); if (!da) { r_error_msg = TTR("Can't get filesystem access."); ERR_FAIL_V_MSG(ERR_CANT_CREATE, "CodeSign: Can't get filesystem access."); @@ -1522,7 +1522,7 @@ Error CodeSign::_codesign_file(bool p_use_hardened_runtime, bool p_force, const } Error CodeSign::codesign(bool p_use_hardened_runtime, bool p_force, const String &p_path, const String &p_ent_path, String &r_error_msg) { - DirAccess *da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM); + DirAccessRef da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM); if (!da) { r_error_msg = TTR("Can't get filesystem access."); ERR_FAIL_V_MSG(ERR_CANT_CREATE, "CodeSign: Can't get filesystem access."); |