hashtable: replace non-const iterator node accessors by a const version
[lttng-tools.git] / src / bin / lttng-relayd / index.cpp
index e3b8bde8230717a4f5e225d124f307aba135a4f1..7fd94ac43c8d79831ca8f064f62303fca8e597dc 100644 (file)
@@ -122,7 +122,7 @@ struct relay_index *relay_index_get_by_id_or_create(struct relay_stream *stream,
 
        lttng::urcu::read_lock_guard read_lock;
        lttng_ht_lookup(stream->indexes_ht, &net_seq_num, &iter);
-       node = lttng_ht_iter_get_node_u64(&iter);
+       node = lttng_ht_iter_get_node<lttng_ht_node_u64>(&iter);
        if (node) {
                index = lttng::utils::container_of(node, &relay_index::index_n);
        } else {
This page took 0.02341 seconds and 4 git commands to generate.