-
- cds_lfht_for_each_entry_duplicate(ht->ht,
- ht->hash_fct(&session_id, lttng_ht_seed),
- ht->match_fct,
- &session_id,
- &iter.iter,
- stream,
- node_session_id.node)
- {
+ for (auto *stream : lttng::urcu::lfht_filtered_iteration_adapter<
+ lttng_consumer_stream,
+ decltype(lttng_consumer_stream::node_session_id),
+ <tng_consumer_stream::node_session_id,
+ std::uint64_t>(*the_consumer_data.stream_list_ht->ht,
+ &session_id,
+ the_consumer_data.stream_list_ht->hash_fct(&session_id,
+ lttng_ht_seed),
+ the_consumer_data.stream_list_ht->match_fct)) {