Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ addRef
Method
addRef
compiler/cpp/tests/catch/catch.hpp:613–615 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
611
SharedImpl() : m_rc( 0 ){}
612
613
virtual void addRef() const {
614
++m_rc;
615
}
616
virtual void release() const {
617
if( --m_rc == 0 )
618
delete this;
Callers
1
Ptr
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected