Skip to content

Commit 37aa27a

Browse files
author
Donatien Garnier
committed
Remove 'looping' reference
1 parent 1192470 commit 37aa27a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/reference/api/platform/SharedPtr.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Usage: `SharedPtr<Class> ptr(new Class())`
88

99
When `ptr` is passed around by a value, the copy constructor and destructor manage the reference count of the raw pointer. If the counter reaches zero, `delete` is called on the raw pointer.
1010

11-
To avoid loops, use "weak" references by calling the original pointer directly with `ptr.get()`.
12-
1311

1412
### SharedPtr class reference
1513

0 commit comments

Comments
 (0)