Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / bin / lttng-sessiond / ust-metadata.cpp
index 5f031a9c41f7f074fda80129828b0c6688508576..3a2eb5ca2446b5042884d5917c468df281cb3bf5 100644 (file)
 
 #define NR_CLOCK_OFFSET_SAMPLES                10
 
+namespace {
 struct offset_sample {
-       int64_t offset;                 /* correlation offset */
-       uint64_t measure_delta;         /* lower is better */
+       /* correlation offset */
+       int64_t offset;
+       /* lower is better */
+       uint64_t measure_delta;
 };
+} /* namespace */
 
 static
 int _lttng_field_statedump(struct ust_registry_session *session,
This page took 0.023719 seconds and 4 git commands to generate.