MCPcopy 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
184template <typename T>
185void RefPtr<T>::reset() {
186 reset(nullptr);
187}
188
189template <typename T>
190void RefPtr<T>::reset(T* r, bool addRef) {

Callers

nothing calls this directly

Calls 2

refPtrDecRefFunction · 0.85
refPtrIncRefFunction · 0.85

Tested by

no test coverage detected