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. --- core/io/file_access_compressed.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/io/file_access_compressed.h') 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 buffer; Ref 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 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 -- cgit v1.2.3