hashtable: replace non-const iterator node accessors by a const version
[lttng-tools.git] / src / bin / lttng-sessiond / snapshot.cpp
index 4f72306ac1ea18e0bb9807acc501e5402da6bcd7..f9ab929d64905ff1f57d431e2fd0b76d4aefebe1 100644 (file)
@@ -277,7 +277,7 @@ struct snapshot_output *snapshot_find_output_by_id(uint32_t id, struct snapshot
        ASSERT_RCU_READ_LOCKED();
 
        lttng_ht_lookup(snapshot->output_ht, (void *) ((unsigned long) id), &iter);
-       node = lttng_ht_iter_get_node_ulong(&iter);
+       node = lttng_ht_iter_get_node<lttng_ht_node_ulong>(&iter);
        if (!node) {
                DBG3("Snapshot output not found with id %" PRId32, id);
                goto error;
This page took 0.022954 seconds and 4 git commands to generate.