Skip to content

Commit b80fc70

Browse files
committed
another attempt to fix the problem
1 parent a76266c commit b80fc70

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/beman/execution26/exec-set-error.test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ struct arg {
1515
struct arg_throwing {};
1616

1717
struct receiver {
18-
template <typename Error>
19-
auto set_error(Error&&) noexcept -> void {}
18+
auto set_error(int) noexcept -> void {}
2019
// NOTLINTNEXTLINE(performance-unnecessary-value-param)
2120
auto set_error(test::throws) noexcept -> void {}
2221
auto set_error(arg a) noexcept -> void { ASSERT(a.value == 43); }

0 commit comments

Comments
 (0)