MCPcopy Create free account
hub / github.com/dirkvdb/ffmpegthumbnailer / addRef

Method addRef

test/testframework/catch.hpp:543–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541 SharedImpl() : m_rc( 0 ){}
542
543 virtual void addRef() const {
544 ++m_rc;
545 }
546 virtual void release() const {
547 if( --m_rc == 0 )
548 delete this;

Callers 1

PtrMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected