Fix: tap.h conflicts with Clang C++ headers
[lttng-tools.git] / tests / unit / test_relayd_backward_compat_group_by_session.cpp
index 42cb0156a8246f2262e56679e12aeda36c7c4331..602376c4376588f9be54888488a047d3e79c9b4c 100644 (file)
@@ -9,15 +9,17 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <tap/tap.h>
 
 #include <common/time.hpp>
 
 #include "backward-compatibility-group-by.hpp"
 
+#include <tap/tap.h>
+
 /* 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 +29,7 @@ struct test {
        const char *leftover;
        bool is_valid;
 };
+} /* namespace */
 
 int lttng_opt_quiet;
 int lttng_opt_mi;
This page took 0.034671 seconds and 4 git commands to generate.