We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5937bfc + f3cb34d commit b640eaeCopy full SHA for b640eae
docs/api/platform/SharedPtr.md
@@ -27,8 +27,8 @@ void test() {
27
// Increase reference count
28
SharedPtr<MyStruct> ptr2( ptr );
29
30
- ptr = NULL; // Reference to the struct instance is still held by ptr2
+ ptr = nullptr; // Reference to the struct instance is still held by ptr2
31
32
- ptr2 = NULL; // The raw pointer is freed
+ ptr2 = nullptr; // The raw pointer is freed
33
}
34
```
0 commit comments