Skip to content

Commit

Permalink
Fix comparison in remove_from_pdp_reader_history (#4182)
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
MiguelCompany authored Dec 21, 2023
1 parent 1e498af commit 6898d18
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 6898d18

Please sign in to comment.