| 723 | VisitorBase::~VisitorBase() = default; |
| 724 | |
| 725 | void detail::Visit(VisitorBase &visitor, |
| 726 | const GroupItemBase *pTopItem, |
| 727 | const GroupItemBase *pRegistry, void *pComputedItemContext) |
| 728 | { |
| 729 | assert(pComputedItemContext); |
| 730 | std::vector< BaseItemSharedPtr > computedItems; |
| 731 | bool doFlush = false; |
| 732 | CollectedItems collection{ {}, computedItems }; |
| 733 | Path emptyPath; |
| 734 | VisitItem( |
| 735 | visitor, collection, emptyPath, pTopItem, |
| 736 | pRegistry, pRegistry ? pRegistry->orderingHint : OrderingHint(), doFlush, pComputedItemContext); |
| 737 | // Flush any writes done by MergeItems() |
| 738 | if (doFlush) |
| 739 | gPrefs->Flush(); |
| 740 | } |
| 741 | |
| 742 | OrderingPreferenceInitializer::OrderingPreferenceInitializer( |
| 743 | Literal root, Pairs pairs ) |
no test coverage detected