MCPcopy Create free account
hub / github.com/couchbase/fleece / removeChild

Method removeChild

Fleece/Tree/MutableNode.hh:430–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 }
429
430 void removeChild(unsigned bitNo, unsigned childIndex) {
431 assert_precondition(childIndex < capacity());
432 memmove(&_children[childIndex], &_children[childIndex+1], (capacity() - childIndex - 1)*sizeof(NodeRef));
433 _bitmap.removeBit(bitNo);
434 }
435
436
437 Bitmap<bitmap_t> _bitmap {0};

Callers

nothing calls this directly

Calls 1

removeBitMethod · 0.80

Tested by

no test coverage detected