You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Make FileAccess and DirAccess classes reference counted.
This commit is contained in:
@@ -40,7 +40,7 @@ class GDScriptTextDocument : public RefCounted {
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
FileAccess *file_checker = nullptr;
|
||||
Ref<FileAccess> file_checker;
|
||||
|
||||
void didOpen(const Variant &p_param);
|
||||
void didClose(const Variant &p_param);
|
||||
@@ -75,7 +75,6 @@ public:
|
||||
void initialize();
|
||||
|
||||
GDScriptTextDocument();
|
||||
virtual ~GDScriptTextDocument();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user