Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / tests / unit / ini_config / ini_config.cpp
index 874f47f9b09bb55c1e803a291c4ef43589e62aef..bc9aedf1063e73a032c85900fcd55642ea9f82d4 100644 (file)
@@ -12,6 +12,7 @@
 #include <string.h>
 #include <lttng/constant.h>
 
+namespace {
 struct state {
        int section_1;
        int section_2;
@@ -20,6 +21,7 @@ struct state {
        int text_entry;
        int int_entry;
 };
+} /* namespace */
 
 int lttng_opt_quiet = 1;
 int lttng_opt_verbose = 0;
This page took 0.023131 seconds and 4 git commands to generate.