summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant_parser.h b/core/variant/variant_parser.h
index b297babd6f..07d89d30cb 100644
--- a/core/variant/variant_parser.h
+++ b/core/variant/variant_parser.h
@@ -49,7 +49,7 @@ public:
};
struct StreamFile : public Stream {
- FileAccess *f = nullptr;
+ Ref<FileAccess> f;
virtual char32_t get_char() override;
virtual bool is_utf8() const override;