Skip to content

Commit 9f71d7e

Browse files
committed
#7: comm: fix trailing whitespace
1 parent 69dd433 commit 9f71d7e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/vt-lb/comm/MPI/class_handle.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ struct ClassHandle;
5656
template <typename T>
5757
struct ClassHandleRank {
5858
ClassHandleRank(ClassHandle<T> in_handle, int in_rank);
59-
59+
6060
template <auto fn, typename... Args>
6161
void send(Args&&... args);
62-
62+
6363
template <auto fn, typename... Args>
6464
void sendTerm(Args&&... args);
6565

src/vt-lb/comm/MPI/comm_mpi.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ template <typename ObjT>
8383
struct RegisteredInfo final : BaseRegisteredInfo {
8484
using FnType = decltype(ObjT::getFunc());
8585
FnType fn_ptr;
86-
86+
8787
explicit RegisteredInfo(FnType in_fn_ptr) : fn_ptr(in_fn_ptr) {}
88-
88+
8989
void dispatch(void* data, void* object, bool deserialize) const override {
9090
typename ObjT::TupleType tup;
9191
if (deserialize) {
@@ -95,7 +95,7 @@ struct RegisteredInfo final : BaseRegisteredInfo {
9595
} else {
9696
tup = *reinterpret_cast<typename ObjT::TupleType*>(data);
9797
}
98-
98+
9999
auto obj = reinterpret_cast<typename ObjT::ObjectType*>(object);
100100
std::apply(
101101
fn_ptr,
@@ -354,12 +354,12 @@ struct CommMPI {
354354
if (flag) {
355355
int count = 0;
356356
MPI_Get_count(&status, MPI_BYTE, &count);
357-
357+
358358
// Validate message size
359359
if (count < static_cast<int>(3 * sizeof(int))) {
360360
throw std::runtime_error("Received message is too small");
361361
}
362-
362+
363363
std::vector<char> buf(count);
364364
// Ensure buffer is properly aligned
365365
if (reinterpret_cast<std::uintptr_t>(buf.data()) % alignof(int) != 0) {

0 commit comments

Comments
 (0)