Skip to content

Commit

Permalink
Refs #21314: Please uncrustify
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
  • Loading branch information
JesusPoderoso authored and MiguelCompany committed Nov 22, 2024
1 parent 1ffcc50 commit 72f998d
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 72f998d

Please sign in to comment.