Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ reset
Method
reset
source/core/StarRefPtr.hpp:185–187 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
183
184
template <typename T>
185
void RefPtr<T>::reset() {
186
reset(nullptr);
187
}
188
189
template <typename T>
190
void RefPtr<T>::reset(T* r, bool addRef) {
Callers
nothing calls this directly
Calls
2
refPtrDecRef
Function · 0.85
refPtrIncRef
Function · 0.85
Tested by
no test coverage detected