@@ -147,8 +147,8 @@ struct ClientInputMsgDispatcher
147147 // / @param[in] msg Reference to message object.
148148 // / @param[in] handler Reference to handler object.
149149 // / @return What the @ref dispatchClientInputMessage() function returns.
150- template <typename TMsg, typename THandler>
151- static auto dispatch (howto10::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
150+ template <typename TId, typename TMsg, typename THandler>
151+ static auto dispatch (TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
152152 decltype(howto10::dispatch::dispatchClientInputMessage<TProtOptions>(id, idx, msg, handler))
153153 {
154154 return howto10::dispatch::dispatchClientInputMessage<TProtOptions>(id, idx, msg, handler);
@@ -157,8 +157,8 @@ struct ClientInputMsgDispatcher
157157 // / @brief Complementary dispatch function.
158158 // / @details Same as other dispatch without @b TAllMessages template parameter,
159159 // / used by @b comms::processAllWithDispatchViaDispatcher().
160- template <typename TAllMessages, typename TMsg, typename THandler>
161- static auto dispatch (howto10::MsgId id, std::size_t idx, TMsg& msg, THandler& handler) ->
160+ template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
161+ static auto dispatch (TId id, std::size_t idx, TMsg& msg, THandler& handler) ->
162162 decltype(dispatch(id, idx, msg, handler))
163163 {
164164 return dispatch (id, idx, msg, handler);
@@ -170,8 +170,8 @@ struct ClientInputMsgDispatcher
170170 // / @param[in] msg Reference to message object.
171171 // / @param[in] handler Reference to handler object.
172172 // / @return What the @ref dispatchClientInputMessage() function returns.
173- template <typename TMsg, typename THandler>
174- static auto dispatch (howto10::MsgId id, TMsg& msg, THandler& handler) ->
173+ template <typename TId, typename TMsg, typename THandler>
174+ static auto dispatch (TId id, TMsg& msg, THandler& handler) ->
175175 decltype(howto10::dispatch::dispatchClientInputMessage<TProtOptions>(id, msg, handler))
176176 {
177177 return howto10::dispatch::dispatchClientInputMessage<TProtOptions>(id, msg, handler);
@@ -180,8 +180,8 @@ struct ClientInputMsgDispatcher
180180 // / @brief Complementary dispatch function.
181181 // / @details Same as other dispatch without @b TAllMessages template parameter,
182182 // / used by @b comms::processAllWithDispatchViaDispatcher().
183- template <typename TAllMessages, typename TMsg, typename THandler>
184- static auto dispatch (howto10::MsgId id, TMsg& msg, THandler& handler) ->
183+ template <typename TAllMessages, typename TId, typename TMsg, typename THandler>
184+ static auto dispatch (TId id, TMsg& msg, THandler& handler) ->
185185 decltype(dispatch(id, msg, handler))
186186 {
187187 return dispatch (id, msg, handler);
0 commit comments