diff --git a/src/turbomind/utils/dispatch.h b/src/turbomind/utils/dispatch.h index 8cf8c68882..c1c1568e5f 100644 --- a/src/turbomind/utils/dispatch.h +++ b/src/turbomind/utils/dispatch.h @@ -15,7 +15,7 @@ template bool dispatch_impl(F&& f, P&& p, G g, std::integer_sequence, std::index_sequence) { constexpr int N = sizeof...(Xs); - return (((((P&&)p)(_Int) || (g && Is == N - 1)) && (((F&&)f)(_Int), 1)) || ...); + return (((((P &&) p)(_Int) || (g && Is == N - 1)) && (((F &&) f)(_Int), 1)) || ...); } } // namespace detail @@ -23,13 +23,13 @@ bool dispatch_impl(F&& f, P&& p, G g, std::integer_sequence, std::in template bool dispatch(std::integer_sequence seq, P&& p, F&& f, G g = {}) { - return detail::dispatch_impl((F&&)f, (P&&)p, g, seq, std::make_index_sequence{}); + return detail::dispatch_impl((F &&) f, (P &&) p, g, seq, std::make_index_sequence{}); } template bool dispatch(std::integer_sequence seq, F&& f) { - return (((F&&)f)(detail::_Int) || ...); + return (((F &&) f)(detail::_Int) || ...); } } // namespace turbomind