diff options
Diffstat (limited to 'core/object/ref_counted.h')
-rw-r--r-- | core/object/ref_counted.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/object/ref_counted.h b/core/object/ref_counted.h index 3dd7cc456b..61780eb061 100644 --- a/core/object/ref_counted.h +++ b/core/object/ref_counted.h @@ -213,7 +213,7 @@ public: inline bool is_null() const { return reference == nullptr; } void unref() { - //TODO this should be moved to mutexes, since this engine does not really + // TODO: this should be moved to mutexes, since this engine does not really // do a lot of referencing on references and stuff // mutexes will avoid more crashes? @@ -223,7 +223,7 @@ public: reference = nullptr; } - void instance() { + void instantiate() { ref(memnew(T)); } |