hashtable: replace non-const iterator node accessors by a const version
[lttng-tools.git] / src / bin / lttng-relayd / session.cpp
index 8ac4a510dc263f552e2b584256b328986c0e8aad..19f1936f229684f3a6f7a6c1e81a787bab346e4f 100644 (file)
@@ -457,7 +457,7 @@ struct relay_session *session_get_by_id(uint64_t id)
 
        lttng::urcu::read_lock_guard read_lock;
        lttng_ht_lookup(sessions_ht, &id, &iter);
-       node = lttng_ht_iter_get_node_u64(&iter);
+       node = lttng_ht_iter_get_node<lttng_ht_node_u64>(&iter);
        if (!node) {
                DBG("Session find by ID %" PRIu64 " id NOT found", id);
                goto end;
This page took 0.023756 seconds and 4 git commands to generate.