Skip to content

Commit

Permalink
Fixed test_buffer_rcv.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gou4shi1 committed Nov 12, 2022
1 parent 57e2f7b commit efa3e08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_buffer_rcv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ class CRcvBufferReadMsg
EXPECT_TRUE(packet.getMsgOrderFlag());
}

return m_rcv_buffer->insert(unit);
int offset = 0;
return m_rcv_buffer->insert(unit, offset);
}

/// @returns 0 on success, the result of rcv_buffer::insert(..) once it failed
Expand Down

0 comments on commit efa3e08

Please sign in to comment.