Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / tests / unit / test_relayd_backward_compat_group_by_session.cpp
index 1fde89cbe44132f0cb848552917df5015c5135b7..4b794faf7c7081660cc1317dbdc575c999f8cfbb 100644 (file)
 #include <string.h>
 #include <tap/tap.h>
 
-#include <common/time.h>
+#include <common/time.hpp>
 
-#include "backward-compatibility-group-by.h"
+#include "backward-compatibility-group-by.hpp"
 
 /* Number of TAP tests in this file */
 #define NUM_TESTS_PER_TEST 1
 
+namespace {
 struct test {
        const char *stream_path;
        const char *session_name;
@@ -27,6 +28,7 @@ struct test {
        const char *leftover;
        bool is_valid;
 };
+} /* namespace */
 
 int lttng_opt_quiet;
 int lttng_opt_mi;
This page took 0.024525 seconds and 4 git commands to generate.