Skip to content

Commit 140671d

Browse files
678098willhoy
andauthored
Fix[rmqio_serializedframe.cpp]: not-equal operator (#73)
Signed-off-by: Evgenii Malygin <emalygin@bloomberg.net> Co-authored-by: Will <2185386+willhoy@users.noreply.github.com>
1 parent 42dc02b commit 140671d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/rmq/rmqio/rmqio_serializedframe.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ bool SerializedFrame::operator==(const SerializedFrame& other) const
4747

4848
bool SerializedFrame::operator!=(const SerializedFrame& other) const
4949
{
50-
if (d_length == other.d_length) {
51-
return false;
50+
if (d_length != other.d_length) {
51+
return true;
5252
}
5353

5454
if (!d_buffer || !other.d_buffer) {

0 commit comments

Comments
 (0)