Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / tests / regression / tools / notification / notification.cpp
index 15f98bf9a1b4fa50265e412e34adbdeff6496ddc..d3d486be3574a85c2f8bc5f6abc2ec0030d4834a 100644 (file)
@@ -48,6 +48,7 @@ enum field_type {
        FIELD_TYPE_ARRAY_FIELD,
 };
 
+namespace {
 struct capture_base_field_tuple {
        const char *field_name;
        enum field_type field_type;
@@ -58,6 +59,7 @@ struct capture_base_field_tuple {
        validate_cb validate_ust;
        validate_cb validate_kernel;
 };
+} /* namespace */
 
 static
 const char *field_value_type_to_str(enum lttng_event_field_value_type type)
This page took 0.023721 seconds and 4 git commands to generate.