Skip to content

Commit

Permalink
Fix comparison in remove_from_pdp_reader_history (#4182) (#4185)
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit 6898d18)

Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
mergify[bot] and MiguelCompany authored Jan 9, 2024
1 parent 18fb9c4 commit 0b1b377
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ struct SimplePDPEndpointsSecure : public SimplePDPEndpoints
assert(nullptr != change);
if (change->writerGUID.entityId == fastrtps::rtps::c_EntityId_SPDPWriter)
{
secure_reader.history_->remove_change(change);
SimplePDPEndpoints::remove_from_pdp_reader_history(change);
}
else
{
SimplePDPEndpoints::remove_from_pdp_reader_history(change);
secure_reader.history_->remove_change(change);
}
}

Expand Down

0 comments on commit 0b1b377

Please sign in to comment.