Skip to content

Commit

Permalink
Refs #21314: Please uncrustify
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Sep 24, 2024
1 parent 37cbd7a commit c7a222a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cpp/fastdds/publisher/DataWriterImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,8 @@ bool DataWriterImpl::lifespan_expired()
CacheChange_t* earliest_change;
while (history_.get_earliest_change(&earliest_change))
{
fastrtps::Time_t expiration_ts(earliest_change->sourceTimestamp.seconds(), earliest_change->sourceTimestamp.nanosec());
fastrtps::Time_t expiration_ts(earliest_change->sourceTimestamp.seconds(),
earliest_change->sourceTimestamp.nanosec());
expiration_ts = expiration_ts + qos_.lifespan().duration;

// Check that the earliest change has expired (the change which started the timer could have been removed from the history)
Expand Down
3 changes: 2 additions & 1 deletion src/cpp/fastdds/subscriber/DataReaderImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,8 @@ bool DataReaderImpl::lifespan_expired()
CacheChange_t* earliest_change;
while (history_.get_earliest_change(&earliest_change))
{
fastrtps::Time_t expiration_ts(earliest_change->sourceTimestamp.seconds(), earliest_change->sourceTimestamp.nanosec());
fastrtps::Time_t expiration_ts(earliest_change->sourceTimestamp.seconds(),
earliest_change->sourceTimestamp.nanosec());
expiration_ts = expiration_ts + qos_.lifespan().duration;

// Check that the earliest change has expired (the change which started the timer could have been removed from the history)
Expand Down

0 comments on commit c7a222a

Please sign in to comment.