Skip to content

Commit

Permalink
QPID-8521 Fix assignment in comparison error (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Richardson <[email protected]>
  • Loading branch information
chrisrichardson77 and Chris Richardson authored Aug 1, 2022
1 parent 462e956 commit 772311f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qpid/broker/amqp/Translation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ boost::intrusive_ptr<const qpid::broker::amqp_0_10::MessageTransfer> Translation
case qpid::amqp::MessageId::NONE:
break;
case qpid::amqp::MessageId::UUID:
assert(cid.value.bytes.size = 16);
assert(cid.value.bytes.size == 16);
props->setCorrelationId(qpid::framing::Uuid(cid.value.bytes.data).str());
break;
case qpid::amqp::MessageId::BYTES:
Expand Down

0 comments on commit 772311f

Please sign in to comment.