{
// Make a list of owners that is sorted from deepest first
const auto owners = list_row_item_owners();
{
// Make a list of owners that is sorted from deepest first
const auto owners = list_row_item_owners();
const shared_ptr<sigrok::ChannelGroup> &group,
const unordered_map<shared_ptr<sigrok::Channel>, shared_ptr<Signal> >
&signal_map)
{
assert(group);
const shared_ptr<sigrok::ChannelGroup> &group,
const unordered_map<shared_ptr<sigrok::Channel>, shared_ptr<Signal> >
&signal_map)
{
assert(group);
owner_list.push_back(o);
owners.insert(o);
}
// Iterate through the list of owners, and find the most prevalent
size_t max_prevalence = 0;
owner_list.push_back(o);
owners.insert(o);
}
// Iterate through the list of owners, and find the most prevalent
size_t max_prevalence = 0;
const size_t prevalence = std::count_if(
owner_list.begin(), owner_list.end(),
const size_t prevalence = std::count_if(
owner_list.begin(), owner_list.end(),