summaryrefslogtreecommitdiffstats
path: root/core/io/file_access_encrypted.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-04-12 11:15:02 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-04-12 14:50:14 +0300
commitd2ebac3a302f41223ab86f5bc2862dd3a050a010 (patch)
treea360d9c508dacd4d00ce9ca9525a1b8c83a5bdd7 /core/io/file_access_encrypted.h
parent788f355ad2f8c1826f5e55477249934d45d62891 (diff)
downloadredot-engine-d2ebac3a302f41223ab86f5bc2862dd3a050a010.tar.gz
Remove or make private `FileAccess` `close()` methods.
Diffstat (limited to 'core/io/file_access_encrypted.h')
-rw-r--r--core/io/file_access_encrypted.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/io/file_access_encrypted.h b/core/io/file_access_encrypted.h
index 5d0b369fbf..0d1ee6a4d8 100644
--- a/core/io/file_access_encrypted.h
+++ b/core/io/file_access_encrypted.h
@@ -54,15 +54,13 @@ private:
mutable bool eofed = false;
bool use_magic = true;
- void _release();
+ void _close();
public:
Error open_and_parse(Ref<FileAccess> p_base, const Vector<uint8_t> &p_key, Mode p_mode, bool p_with_magic = true);
Error open_and_parse_password(Ref<FileAccess> p_base, const String &p_key, Mode p_mode);
virtual Error _open(const String &p_path, int p_mode_flags); ///< open a file
- virtual void close(); ///< close a file
- virtual void release(); ///< finish and keep base file open
virtual bool is_open() const; ///< true when file is open
virtual String get_path() const; /// returns the path for the current open file