MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / SwapRemove

Method SwapRemove

3rdparty/tinyxml2/tinyxml2.h:278–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 }
277
278 void SwapRemove(size_t i) {
279 TIXMLASSERT(i < _size);
280 TIXMLASSERT(_size > 0);
281 _mem[i] = _mem[_size - 1];
282 --_size;
283 }
284
285 const T* Mem() const {
286 TIXMLASSERT( _mem );

Callers 1

MarkInUseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected