Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ refPtrDecRef
Function
refPtrDecRef
source/core/StarRefPtr.hpp:292–295 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
290
}
291
292
inline void refPtrDecRef(RefCounter* p) {
293
if (--p->m_refCounter == 0)
294
delete p;
295
}
296
297
inline RefCounter::RefCounter()
298
: m_refCounter(0) {}
Callers
3
~RefPtr
Method · 0.85
StarRefPtr.hpp
File · 0.85
reset
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected