We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23aedc4 commit 21f219eCopy full SHA for 21f219e
comms/include/comms/protocol/MsgSizeLayer.h
@@ -509,7 +509,7 @@ class MsgSizeLayer : public
509
{
510
auto remSize = BaseImpl::nextLayer().length(msg);
511
Field fieldTmp;
512
- static_cast<const ExtendingClass*>(this)->prepareFieldForWrite(remSize, msg, fieldTmp);
+ static_cast<const ExtendingClass*>(this)->prepareFieldForWrite(remSize, &msg, fieldTmp);
513
return fieldTmp.length();
514
}
515
0 commit comments