diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-16 18:34:48 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-16 18:34:48 +0100 |
commit | ec2f9a78f7e8e9ad767a34f77ad2f825c3f59c63 (patch) | |
tree | 8b8bb867eac8b5a9cab6ede811832240b871b453 /drivers/unix/file_access_unix.cpp | |
parent | 2d845ee3d1714e6d9787a061c1dc7eaba9ad4c96 (diff) | |
parent | bc95b0b17145e0e8df7e92ae5bea689112afab85 (diff) | |
download | redot-engine-ec2f9a78f7e8e9ad767a34f77ad2f825c3f59c63.tar.gz |
Merge pull request #73435 from bruvzg/file_close
Restore FileAccess.close method.
Diffstat (limited to 'drivers/unix/file_access_unix.cpp')
-rw-r--r-- | drivers/unix/file_access_unix.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/unix/file_access_unix.cpp b/drivers/unix/file_access_unix.cpp index 43d3f53904..ee3cb876cf 100644 --- a/drivers/unix/file_access_unix.cpp +++ b/drivers/unix/file_access_unix.cpp @@ -318,6 +318,10 @@ Error FileAccessUnix::_set_unix_permissions(const String &p_file, uint32_t p_per return FAILED; } +void FileAccessUnix::close() { + _close(); +} + CloseNotificationFunc FileAccessUnix::close_notification_func = nullptr; FileAccessUnix::~FileAccessUnix() { |