MCPcopy Create free account
hub / github.com/audacity/audacity / SubordinateMultipleItems

Method SubordinateMultipleItems

libraries/lib-registries/Registry.cpp:361–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361void CollectedItems::SubordinateMultipleItems(Item &found, GroupItemBase &items)
362{
363 auto subGroup = MergeLater(found, items.name, items.GetOrdering());
364 for (const auto &pItem : items)
365 subGroup->push_back(std::make_unique<IndirectItemBase>(
366 // shared pointer with vacuous deleter
367 std::shared_ptr<BaseItem>(pItem.get(), [](void*){})));
368}
369
370bool CollectedItems::MergeWithExistingItem(
371 ItemOrdering &itemOrdering, BaseItem *pItem)

Callers

nothing calls this directly

Calls 3

GetOrderingMethod · 0.45
push_backMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected