From d2ebac3a302f41223ab86f5bc2862dd3a050a010 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Tue, 12 Apr 2022 11:15:02 +0300 Subject: Remove or make private `FileAccess` `close()` methods. --- platform/android/file_access_android.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'platform/android/file_access_android.h') diff --git a/platform/android/file_access_android.h b/platform/android/file_access_android.h index ea7531e9ad..33b692da20 100644 --- a/platform/android/file_access_android.h +++ b/platform/android/file_access_android.h @@ -44,11 +44,12 @@ class FileAccessAndroid : public FileAccess { mutable uint64_t pos = 0; mutable bool eof = false; + void _close(); + public: static AAssetManager *asset_manager; virtual Error _open(const String &p_path, int p_mode_flags); ///< open a file - virtual void close(); ///< close a file virtual bool is_open() const; ///< true when file is open virtual void seek(uint64_t p_position); ///< seek to a given position -- cgit v1.2.3