Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Predelnik/DSpellCheck
/ RemoveReference
Method
RemoveReference
deps/FtpClient/smart_ptr.h:27–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
public:
26
void AddReference() { ++m_iRefCount; }
27
void RemoveReference()
28
{
29
if (--m_iRefCount == 0)
30
delete this;
31
}
32
33
void MarkUnshareable() { m_fShareable = false; }
34
bool IsShareable() const { return m_fShareable; }
Callers
4
~RCPtr
Method · 0.80
RCPtr
Class · 0.80
~RCIPtr
Method · 0.80
RCIPtr
Class · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected