Make FileAccess and DirAccess classes reference counted.
This commit is contained in:
@@ -68,7 +68,7 @@ public:
|
||||
bool file_exists(String p_name) const;
|
||||
|
||||
virtual bool try_open_pack(const String &p_path, bool p_replace_files, uint64_t p_offset) override;
|
||||
FileAccess *get_file(const String &p_path, PackedData::PackedFile *p_file) override;
|
||||
Ref<FileAccess> get_file(const String &p_path, PackedData::PackedFile *p_file) override;
|
||||
|
||||
static ZipArchive *get_singleton();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user