MCPcopy 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

~ReferenceMethod · 0.45
~RefPtrMethod · 0.45
assignMethod · 0.45

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected