diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-04-11 14:12:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-11 14:12:18 +0200 |
commit | 5613ac37d658820fd0e4c3162f24a3b68414d3f9 (patch) | |
tree | 533d5ed29331e94be8f6978fd98137844376d55b /drivers/unix/dir_access_unix.cpp | |
parent | 2ec68599a45231767bb970e7bf06a3bf7ed5fc91 (diff) | |
parent | 9381acb6a42da653cb6dfd9e610dfccead11aa98 (diff) | |
download | redot-engine-5613ac37d658820fd0e4c3162f24a3b68414d3f9.tar.gz |
Merge pull request #59440 from bruvzg/fd_ref_counted
Diffstat (limited to 'drivers/unix/dir_access_unix.cpp')
-rw-r--r-- | drivers/unix/dir_access_unix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/dir_access_unix.cpp b/drivers/unix/dir_access_unix.cpp index af47173b41..7e6105f033 100644 --- a/drivers/unix/dir_access_unix.cpp +++ b/drivers/unix/dir_access_unix.cpp @@ -49,7 +49,7 @@ #include <mntent.h> #endif -DirAccess *DirAccessUnix::create_fs() { +Ref<DirAccess> DirAccessUnix::create_fs() { return memnew(DirAccessUnix); } @@ -374,7 +374,7 @@ Error DirAccessUnix::change_dir(String p_dir) { return OK; } -String DirAccessUnix::get_current_dir(bool p_include_drive) { +String DirAccessUnix::get_current_dir(bool p_include_drive) const { String base = _get_root_path(); if (!base.is_empty()) { String bd = current_dir.replace_first(base, ""); |