MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / Remove

Method Remove

rEFIt_UEFI/cpp_foundation/XArray.h:356–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354/* Remove(TYPE) */
355template<class TYPE>
356void XArray<TYPE>::Remove(const TYPE &Element)
357{
358 size_t i;
359
360 for ( i=0 ; i<m_len ; i+= 1) {
361 if ( m_data[i] == Element ) {
362 Remove(i);
363 return ;
364 }
365 }
366 #if defined(_DEBUG) && defined(TRACE)
367 TRACE("XArray::Remove(const TYPE &) -> Element not found\n");
368 #endif
369}
370
371/* Remove(TYPE *) */
372template<class TYPE>

Callers 2

DeleteVlanFunction · 0.45
VlanCallbackFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected