diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-01-29 19:52:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-29 19:52:38 -0500 |
commit | 5f4647df7da58aa22be21dd26cfa6de7c5f106c9 (patch) | |
tree | 4bbcaee76bde35ddc6eff9a1c639866cf278b353 /src/common/polyfill_thread.h | |
parent | 3aab57452153c3dfa8591809bc09797da03b44dc (diff) | |
parent | d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea (diff) |
Merge pull request #9705 from behunin/patch-1
Move to Clang Format 15
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: using callback_type = Callback; template <typename C> - requires constructible_from<Callback, C> + requires constructible_from<Callback, C> explicit stop_callback(const stop_token& st, C&& cb) noexcept(is_nothrow_constructible_v<Callback, C>) : m_stop_state(st.m_stop_state) { @@ -222,7 +222,7 @@ public: } } template <typename C> - requires constructible_from<Callback, C> + requires constructible_from<Callback, C> explicit stop_callback(stop_token&& st, C&& cb) noexcept(is_nothrow_constructible_v<Callback, C>) : m_stop_state(move(st.m_stop_state)) { |