Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FirebirdSQL/firebird
/ release
Method
release
src/common/classes/RefCounted.h:42–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
}
41
42
virtual int release() const
43
{
44
fb_assert(m_refCnt.value() > 0);
45
const int refCnt = --m_refCnt;
46
if (!refCnt)
47
delete this;
48
return refCnt;
49
}
50
51
void assertNonZero()
52
{
Callers
3
~Reference
Method · 0.45
~RefPtr
Method · 0.45
assign
Method · 0.45
Calls
1
value
Method · 0.45
Tested by
no test coverage detected