Skip to content

Commit baa338a

Browse files
committed
#2063: Update RDMA_RecvType to accept std::byte*
1 parent 7fe9e0c commit baa338a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vt/rdma/rdma_common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ using ActiveGetFunctionType = RDMA_GetType(*)(BaseMessage*, ByteType, ByteType,
104104
using ActivePutFunctionType = void(*)(BaseMessage*, RDMA_PtrType, ByteType, ByteType, TagType, bool);
105105

106106
using RDMA_PtrContinuationType = std::function<void(RDMA_PtrType)>;
107-
using RDMA_RecvType = std::function<void(void* ptr, size_t num_bytes)>;
107+
using RDMA_RecvType = std::function<void(std::byte* ptr, size_t num_bytes)>;
108108

109109
using RDMA_NumElemsType = int64_t;
110110
using RDMA_BlockElmRangeType = std::tuple<RDMA_BlockType,RDMA_ElmType,RDMA_ElmType>;

0 commit comments

Comments
 (0)