clang-tidy: apply suggested fixes
[lttng-tools.git] / src / bin / lttng-sessiond / manage-kernel.cpp
index 520583cc205fb92addced4474637508352523af4..70a750aec528e1c9dcf3dcb655273b16f96e3f84 100644 (file)
@@ -130,7 +130,7 @@ static int update_kernel_stream(int fd)
                        }
 
                        {
-                               lttng::urcu::read_lock_guard read_lock;
+                               const lttng::urcu::read_lock_guard read_lock;
 
                                cds_lfht_for_each_entry (
                                        ksess->consumer->socks->ht, &iter.iter, socket, node.node) {
This page took 0.026689 seconds and 4 git commands to generate.