Fix MyRefCounted example

This commit is contained in:
Brandon Lewis
2026-08-01 17:58:16 -04:00
parent cc147ca70b
commit 0e23070467

View File

@@ -304,7 +304,7 @@ dropped, the object automatically self-destructs.
.. code-block:: cpp
class MyRefCounted: public RefCounted {
GDCLASS(MyReference, RefCounted);
GDCLASS(MyRefCounted, RefCounted);
};
Ref<MyRefCounted> my_ref = memnew(MyRefCounted);