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

Method Clear

src/fco/fcopropvector.cpp:346–353  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// Clear -- removes all items from the vector //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

344// Clear -- removes all items from the vector
345///////////////////////////////////////////////////////////////////////////////
346void cFCOPropVector::Clear(void)
347{
348 mMask = 0;
349 if (mpBuf)
350 {
351 std::fill(mpBuf->begin(), mpBuf->end(), 0);
352 }
353}
354
355
356///////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected