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

Method newNode

Fleece/Tree/MutableNode.hh:334–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332 MutableInterior& operator=(const MutableInterior&) = delete;
333
334 static MutableInterior* newNode(unsigned capacity, MutableInterior *orig =nullptr) {
335 return new (capacity) MutableInterior(capacity, orig);
336 }
337
338 static void* operator new(size_t size, unsigned capacity) {
339 return ::operator new(size + capacity*sizeof(NodeRef));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected