Skip to content

Commit 7d733e8

Browse files
committed
Ignore callback parameter in never_stop_token::__callback_type ctor.
1 parent 47185ef commit 7d733e8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/stdexec/stop_token.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#pragma once
1818

1919
#include "__detail/__stop_token.hpp" // IWYU pragma: export
20+
#include "__detail/__utility.hpp"
2021

2122
#include <version>
2223
#include <cstdint>
@@ -80,7 +81,7 @@ namespace stdexec {
8081
struct never_stop_token {
8182
private:
8283
struct __callback_type {
83-
explicit __callback_type(never_stop_token, auto&&) noexcept {
84+
explicit __callback_type(never_stop_token, __ignore) noexcept {
8485
}
8586
};
8687
public:

0 commit comments

Comments
 (0)