@@ -313,19 +313,19 @@ struct RunnableMaker {
313
313
* \param[in] is_threaded whether it is threaded
314
314
* \param[in] handler the handler bits
315
315
* \param[in] from the node that caused this runnable to execute
316
- * \param[in] han_type the type of handler (default RegGeneral)
316
+ * \param[in] han_type the type of handler
317
317
*
318
318
* \return the maker for further customization
319
319
*/
320
320
template <typename U>
321
321
RunnableMaker<U> makeRunnable (
322
322
MsgSharedPtr<U> const & msg, bool is_threaded, HandlerType handler,
323
- NodeType from, auto_registry::RegistryTypeEnum han_type =
324
- auto_registry::RegistryTypeEnum::RegGeneral
323
+ NodeType from, auto_registry::RegistryTypeEnum han_type
325
324
) {
326
325
auto r = std::make_unique<RunnableNew>(msg, is_threaded);
327
326
if (han_type == auto_registry::RegistryTypeEnum::RegVrt or
328
- han_type == auto_registry::RegistryTypeEnum::RegGeneral) {
327
+ han_type == auto_registry::RegistryTypeEnum::RegGeneral or
328
+ han_type == auto_registry::RegistryTypeEnum::RegObjGroup) {
329
329
r->template addContext <ctx::Trace>(msg, handler, from, han_type);
330
330
}
331
331
r->template addContext <ctx::FromNode>(from);
@@ -339,15 +339,14 @@ RunnableMaker<U> makeRunnable(
339
339
* \param[in] is_threaded whether it is threaded
340
340
* \param[in] handler the handler bits
341
341
* \param[in] from the node that caused this runnable to execute
342
- * \param[in] han_type the type of handler (default RegGeneral)
343
342
*
344
343
* \return the maker for further customization
345
344
*/
346
345
inline RunnableMaker<BaseMsgType> makeRunnableVoid (
347
- bool is_threaded, HandlerType handler,
348
- NodeType from, auto_registry::RegistryTypeEnum han_type =
349
- auto_registry::RegistryTypeEnum::RegGeneral
346
+ bool is_threaded, HandlerType handler, NodeType from
350
347
) {
348
+ // These are currently only types of registry entries that can be void
349
+ auto han_type = auto_registry::RegistryTypeEnum::RegGeneral;
351
350
auto r = std::make_unique<RunnableNew>(is_threaded);
352
351
// @todo: figure out how to trace this?
353
352
r->template addContext <ctx::FromNode>(from);
0 commit comments