Skip to content

Commit 54514e1

Browse files
committed
Release v1.2 (revised).
2 parents 3b1f881 + b0a0d94 commit 54514e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comms/include/comms/protocol/MsgSizeLayer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class MsgSizeLayer : public
268268
using MsgPtr = typename BaseImpl::MsgPtr;
269269
using ConstNullptrType =
270270
typename details::MsgSizeLayerConstNullPtrCastHelper<
271-
std::is_void<MsgPtr>::value
271+
!std::is_void<MsgPtr>::value
272272
>::template Type<MsgPtr>;
273273
auto noMsgPtr = static_cast<ConstNullptrType>(nullptr);
274274
return doUpdateInternal(noMsgPtr, field, iter, size, std::forward<TNextLayerUpdater>(nextLayerUpdater));

0 commit comments

Comments
 (0)