MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Clone

Method Clone

src/fco/fcospecimpl.cpp:107–112  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// Clone -- make a copy of this spec //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

105// Clone -- make a copy of this spec
106///////////////////////////////////////////////////////////////////////////////
107iFCOSpec* cFCOSpecImpl::Clone() const
108{
109 cFCOSpecImpl* pNewSpec = new cFCOSpecImpl(mName);
110 *pNewSpec = *this;
111 return pNewSpec;
112}
113
114///////////////////////////////////////////////////////////////////////////////
115// TraceContents -- debug output of this object's contents

Callers 1

fcospecimpl.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected