Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / common / index-allocator.cpp
index 1f7b3e05208d3cfb6fa60785f4db7218f57f7588..32778cd205eae16652af36770d768769db62724f 100644 (file)
@@ -22,10 +22,12 @@ struct lttng_index_allocator {
        uint64_t nb_allocated_indexes;
 };
 
+namespace {
 struct lttng_index {
        uint64_t index;
        struct cds_list_head head;
 };
+} /* namespace */
 
 struct lttng_index_allocator *lttng_index_allocator_create(
                uint64_t index_count)
This page took 0.023558 seconds and 4 git commands to generate.