nullify_shared_ptr changing == to = in documentation.
This commit is contained in:
parent
9e17514b57
commit
9218dda001
@ -206,7 +206,7 @@ Conversion to `std::shared_ptr<T> &` is supported for function calls, but if you
|
||||
```cpp
|
||||
// ok this is supported, you can register it with chaiscript engine
|
||||
void nullify_shared_ptr(std::shared_ptr<int> &t) {
|
||||
t == nullptr
|
||||
t = nullptr
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user