Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / tests / regression / kernel / select_poll_epoll.cpp
index 5dabf55b6e560d403374ee054981bfb101963aa3..c0b6882172b13d471be9a3496ac80b2692595a67 100644 (file)
@@ -59,7 +59,8 @@ static void epoll_pwait_concurrent_munmap(FILE *validation_output_file);
 
 typedef void (*test_case_cb)(FILE *output_file);
 
-static const struct test_case {
+namespace {
+const struct test_case {
        test_case_cb run;
        bool produces_validation_info;
        int timeout;
@@ -82,6 +83,7 @@ struct ppoll_thread_data {
        struct pollfd *ufds;
        int value;
 };
+} /* namespace */
 
 static
 void test_select_big(void)
This page took 0.023385 seconds and 4 git commands to generate.