Skip to content

Commit 814e754

Browse files
frankistcodebot
authored andcommitted
fix lack of override keyword in unit test
1 parent 4c03620 commit 814e754

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/unittests/support/executors/strand_executor_test.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
#include <gtest/gtest.h>
1616
#include <numeric>
1717

18+
// Disable GCC 5's -Wsuggest-override warnings in gtest.
19+
#ifdef __clang__
20+
#pragma GCC diagnostic ignored "-Wall"
21+
#else // __clang__
22+
#pragma GCC diagnostic ignored "-Wsuggest-override"
23+
#endif // __clang__
24+
1825
using namespace srsran;
1926

2027
// Test helper function that verifies that a given number of tasks are executed in order.

0 commit comments

Comments
 (0)