projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tap.h conflicts with Clang C++ headers
[lttng-tools.git]
/
tests
/
unit
/
test_relayd_backward_compat_group_by_session.cpp
diff --git
a/tests/unit/test_relayd_backward_compat_group_by_session.cpp
b/tests/unit/test_relayd_backward_compat_group_by_session.cpp
index 42cb0156a8246f2262e56679e12aeda36c7c4331..602376c4376588f9be54888488a047d3e79c9b4c 100644
(file)
--- a/
tests/unit/test_relayd_backward_compat_group_by_session.cpp
+++ b/
tests/unit/test_relayd_backward_compat_group_by_session.cpp
@@
-9,15
+9,17
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <tap/tap.h>
#include <common/time.hpp>
#include "backward-compatibility-group-by.hpp"
#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
/* Number of TAP tests in this file */
#define NUM_TESTS_PER_TEST 1
+namespace {
struct test {
const char *stream_path;
const char *session_name;
struct test {
const char *stream_path;
const char *session_name;
@@
-27,6
+29,7
@@
struct test {
const char *leftover;
bool is_valid;
};
const char *leftover;
bool is_valid;
};
+} /* namespace */
int lttng_opt_quiet;
int lttng_opt_mi;
int lttng_opt_quiet;
int lttng_opt_mi;
This page took
0.025478 seconds
and
4
git commands to generate.