MCPcopy Create free account
hub / github.com/apache/thrift / release

Method release

compiler/cpp/tests/catch/catch.hpp:616–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614 ++m_rc;
615 }
616 virtual void release() const {
617 if( --m_rc == 0 )
618 delete this;
619 }
620
621 mutable unsigned int m_rc;
622 };

Callers 2

~PtrMethod · 0.45
resetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected