From 9f3d0d246e6a4434e722da0d0c453f59059a7148 Mon Sep 17 00:00:00 2001 From: Jakub Domagala Date: Tue, 22 Sep 2020 18:24:45 +0200 Subject: [PATCH] #1024: Fix formatting --- src/vt/vrt/collection/manager.h | 6 ++++-- src/vt/vrt/collection/manager.impl.h | 11 +++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/vt/vrt/collection/manager.h b/src/vt/vrt/collection/manager.h index d365700751..7ccf1faf69 100644 --- a/src/vt/vrt/collection/manager.h +++ b/src/vt/vrt/collection/manager.h @@ -916,7 +916,8 @@ struct CollectionManager */ template < typename MsgT, - ActiveColTypedFnType *f> + ActiveColTypedFnType *f + > messaging::PendingSend broadcastMsgCollective( CollectionProxyWrapType const& proxy, MsgT* msg, bool instrument = true); @@ -933,7 +934,8 @@ struct CollectionManager */ template < typename MsgT, - ActiveColMemberTypedFnType f> + ActiveColMemberTypedFnType f + > messaging::PendingSend broadcastMsgCollective( CollectionProxyWrapType const& proxy, MsgT* msg, bool instrument = true); diff --git a/src/vt/vrt/collection/manager.impl.h b/src/vt/vrt/collection/manager.impl.h index 58cc3dccec..4de4a5d337 100644 --- a/src/vt/vrt/collection/manager.impl.h +++ b/src/vt/vrt/collection/manager.impl.h @@ -874,7 +874,8 @@ messaging::PendingSend CollectionManager::broadcastMsgCollective( using ColT = typename MsgT::CollectionType; msg->setVrtHandler( - auto_registry::makeAutoHandlerCollectionMem()); + auto_registry::makeAutoHandlerCollectionMem() + ); msg->setMember(true); return broadcastMsgCollectiveImpl(proxy, msg, instrument); @@ -898,7 +899,8 @@ messaging::PendingSend CollectionManager::broadcastMsgCollectiveImpl( auto_registry::RegistryTypeEnum::RegVrtCollection; auto msg_size = vt::serialization::MsgSizer::get(msg.get()); auto event = theMsg()->makeTraceCreationSend( - msg, msg->getVrtHandler(), reg_type, msg_size, true); + msg, msg->getVrtHandler(), reg_type, msg_size, true + ); msg->setFromTraceEvent(event); #endif @@ -910,7 +912,7 @@ messaging::PendingSend CollectionManager::broadcastMsgCollectiveImpl( theMsg()->setupEpochMsg(msg); return messaging::PendingSend( - msg, [proxy](MsgSharedPtr& msgIn) { + msg, [proxy](MsgSharedPtr& msgIn){ auto col_msg = reinterpret_cast(msgIn.get()); auto elm_holder = theCollection()->findElmHolder(proxy); @@ -920,7 +922,8 @@ messaging::PendingSend CollectionManager::broadcastMsgCollectiveImpl( theMsg()->markAsCollectionMessage(col_msg); collectionBcastHandler(col_msg); - }); + } + ); } template <