Skip to content

Commit e8ba04d

Browse files
MoeBazziGITstwrt
authored andcommitted
Fix RefCounted<T> typo
1 parent 099c6a9 commit e8ba04d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Deep Dive/MemoryManagement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ When an object which implements the semantics required by RefPtr and Ref is crea
5151
we must immediately *adopt* it into `Ref` type using `adoptRef` as follows:
5252

5353
```cpp
54-
class A : public RefCounted<T> {
54+
class A : public RefCounted<A> {
5555
public:
5656
int m_foo;
5757

0 commit comments

Comments
 (0)