diff options
Diffstat (limited to 'src/common/polyfill_thread.h')
| -rw-r--r-- | src/common/polyfill_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/polyfill_thread.h b/src/common/polyfill_thread.h index b4c94a5fc..b5ef055db 100644 --- a/src/common/polyfill_thread.h +++ b/src/common/polyfill_thread.h | |||
| @@ -213,7 +213,7 @@ public: | |||
| 213 | using callback_type = Callback; | 213 | using callback_type = Callback; |
| 214 | 214 | ||
| 215 | template <typename C> | 215 | template <typename C> |
| 216 | requires constructible_from<Callback, C> | 216 | requires constructible_from<Callback, C> |
| 217 | explicit stop_callback(const stop_token& st, | 217 | explicit stop_callback(const stop_token& st, |
| 218 | C&& cb) noexcept(is_nothrow_constructible_v<Callback, C>) | 218 | C&& cb) noexcept(is_nothrow_constructible_v<Callback, C>) |
| 219 | : m_stop_state(st.m_stop_state) { | 219 | : m_stop_state(st.m_stop_state) { |
| @@ -222,7 +222,7 @@ public: | |||
| 222 | } | 222 | } |
| 223 | } | 223 | } |
| 224 | template <typename C> | 224 | template <typename C> |
| 225 | requires constructible_from<Callback, C> | 225 | requires constructible_from<Callback, C> |
| 226 | explicit stop_callback(stop_token&& st, | 226 | explicit stop_callback(stop_token&& st, |
| 227 | C&& cb) noexcept(is_nothrow_constructible_v<Callback, C>) | 227 | C&& cb) noexcept(is_nothrow_constructible_v<Callback, C>) |
| 228 | : m_stop_state(move(st.m_stop_state)) { | 228 | : m_stop_state(move(st.m_stop_state)) { |