diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-12 14:16:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 14:16:52 +0200 |
commit | c28d7813445a897a371105ddb8f42ee68fafea0c (patch) | |
tree | 29e4202a2b47505fe1dcfb0b6507cbb7f5d421e8 /core/io/file_access_compressed.h | |
parent | 603b1315a711f427a581445c9680116bee0ef755 (diff) | |
parent | d2ebac3a302f41223ab86f5bc2862dd3a050a010 (diff) |
Merge pull request #60169 from bruvzg/remove_fa_close
Diffstat (limited to 'core/io/file_access_compressed.h')
-rw-r--r-- | core/io/file_access_compressed.h | 3 |
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 |