summaryrefslogtreecommitdiff
path: root/core/io/file_access_compressed.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_compressed.h
parent788f355ad2f8c1826f5e55477249934d45d62891 (diff)
Remove or make private `FileAccess` `close()` methods.
Diffstat (limited to 'core/io/file_access_compressed.h')
-rw-r--r--core/io/file_access_compressed.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/io/file_access_compressed.h b/core/io/file_access_compressed.h
index cd28c576cf..b8382e61d9 100644
--- a/core/io/file_access_compressed.h
+++ b/core/io/file_access_compressed.h
@@ -63,13 +63,14 @@ class FileAccessCompressed : public FileAccess {
mutable Vector<uint8_t> buffer;
Ref<FileAccess> f;
+ void _close();
+
public:
void configure(const String &p_magic, Compression::Mode p_mode = Compression::MODE_ZSTD, uint32_t p_block_size = 4096);
Error open_after_magic(Ref<FileAccess> p_base);
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