MCPcopy Create free account
hub / github.com/avast/retdec / SwapRemove

Method SwapRemove

deps/tinyxml2/include/tinyxml2/tinyxml2.h:281–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279 }
280
281 void SwapRemove(int i) {
282 TIXMLASSERT(i >= 0 && i < _size);
283 TIXMLASSERT(_size > 0);
284 _mem[i] = _mem[_size - 1];
285 --_size;
286 }
287
288 const T* Mem() const {
289 TIXMLASSERT( _mem );

Callers 1

MarkInUseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected