Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / common / tracker.cpp
index 41e141afe63ae36e09e3caa9f5bb9b21f07331c3..e988599bae9a27a0c4859e6a577b191a5ff57094 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <type_traits>
 
+namespace {
 struct process_attr_tracker_values_comm_header {
        uint32_t count;
 } LTTNG_PACKED;
@@ -33,6 +34,7 @@ struct process_attr_tracker_value_comm {
                uint32_t name_len;
        } value;
 } LTTNG_PACKED;
+} /* namespace */
 
 #define GET_INTEGRAL_COMM_VALUE(value_ptr, as_type)              \
        ((as_type)(std::is_signed<as_type>::value ? (value_ptr)->u._signed : \
This page took 0.023372 seconds and 4 git commands to generate.