hashtable: replace non-const iterator node accessors by a const version
[lttng-tools.git] / src / bin / lttng-relayd / ctf-trace.cpp
index cde9f3927e381297b3f3b8bd53a00532ea2f2e98..81c5a770719a4c1f0fbe85f19fcc03c950d73534 100644 (file)
@@ -152,7 +152,7 @@ struct ctf_trace *ctf_trace_get_by_path_or_create(struct relay_session *session,
 
        lttng::urcu::read_lock_guard read_lock;
        lttng_ht_lookup(session->ctf_traces_ht, subpath, &iter);
-       node = lttng_ht_iter_get_node_str(&iter);
+       node = lttng_ht_iter_get_node<lttng_ht_node_str>(&iter);
        if (!node) {
                DBG("CTF Trace path %s not found", subpath);
                goto end;
This page took 0.023171 seconds and 4 git commands to generate.