Skip to content

Commit 35e0278

Browse files
committed
suppress unused parameter warning from Catch2 headers
1 parent e8c349f commit 35e0278

138 files changed

Lines changed: 183 additions & 141 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/exec/asio/test_asio_thread_pool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
#include <catch2/catch_all.hpp>
18+
#include <test_common/catch2.hpp>
1919

2020
#include <numeric>
2121
#include <span>

test/exec/asio/test_completion_token.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <exec/asio/asio_config.hpp>
2020
#include <exec/asio/completion_token.hpp>
2121

22-
#include <catch2/catch_all.hpp>
22+
#include <test_common/catch2.hpp>
2323

2424
#include <barrier>
2525
#include <concepts>

test/exec/asio/test_use_sender.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <test_common/receivers.hpp>
2323
#include <test_common/type_helpers.hpp>
2424

25-
#include <catch2/catch_all.hpp>
25+
#include <test_common/catch2.hpp>
2626

2727
#include <chrono>
2828
#include <exception>

test/exec/async_scope/test_dtor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "exec/static_thread_pool.hpp"
2-
#include <catch2/catch_all.hpp>
32
#include <exec/async_scope.hpp>
3+
#include <test_common/catch2.hpp>
44

55
namespace ex = STDEXEC;
66
using exec::async_scope;

test/exec/async_scope/test_empty.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "test_common/receivers.hpp"
22
#include "test_common/schedulers.hpp"
3-
#include <catch2/catch_all.hpp>
43
#include <exec/async_scope.hpp>
4+
#include <test_common/catch2.hpp>
55

66
namespace ex = STDEXEC;
77
using exec::async_scope;

test/exec/async_scope/test_spawn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include "test_common/receivers.hpp"
22
#include "test_common/schedulers.hpp"
33
#include "test_common/type_helpers.hpp"
4-
#include <catch2/catch_all.hpp>
54
#include <exec/async_scope.hpp>
5+
#include <test_common/catch2.hpp>
66

77
namespace ex = STDEXEC;
88
using exec::async_scope;

test/exec/async_scope/test_spawn_future.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#include "test_common/receivers.hpp"
22
#include "test_common/schedulers.hpp"
3-
#include <catch2/catch_all.hpp>
43
#include <exec/async_scope.hpp>
54
#include <exec/just_from.hpp>
65
#include <exec/static_thread_pool.hpp>
6+
#include <test_common/catch2.hpp>
77

88
namespace ex = STDEXEC;
99
using exec::async_scope;

test/exec/async_scope/test_start_now.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#include <catch2/catch_all.hpp>
21
#include <exec/async_scope.hpp>
32
#include <exec/start_now.hpp>
43
#include <exec/static_thread_pool.hpp>
4+
#include <test_common/catch2.hpp>
55

66
#include "test_common/receivers.hpp"
77
#include "test_common/schedulers.hpp"

test/exec/async_scope/test_stop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#include "exec/start_detached.hpp"
33
#include "test_common/receivers.hpp"
44
#include "test_common/schedulers.hpp"
5-
#include <catch2/catch_all.hpp>
65
#include <exec/async_scope.hpp>
6+
#include <test_common/catch2.hpp>
77

88
namespace ex = STDEXEC;
99
using exec::async_scope;

test/exec/sequence/test_any_sequence_of.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "exec/sequence/any_sequence_of.hpp"
1919
#include "exec/sequence/empty_sequence.hpp"
2020

21-
#include <catch2/catch_all.hpp>
21+
#include <test_common/catch2.hpp>
2222

2323
STDEXEC_PRAGMA_PUSH()
2424
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")

0 commit comments

Comments
 (0)