From 72f998d24c033052abcc12fea384a555cf90b1e8 Mon Sep 17 00:00:00 2001 From: JesusPoderoso Date: Tue, 24 Sep 2024 08:48:22 +0200 Subject: [PATCH] Refs #21314: Please uncrustify Signed-off-by: JesusPoderoso --- src/cpp/fastdds/publisher/DataWriterImpl.cpp | 3 ++- src/cpp/fastdds/subscriber/DataReaderImpl.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cpp/fastdds/publisher/DataWriterImpl.cpp b/src/cpp/fastdds/publisher/DataWriterImpl.cpp index 9eecbdf7589..1a49eab3336 100644 --- a/src/cpp/fastdds/publisher/DataWriterImpl.cpp +++ b/src/cpp/fastdds/publisher/DataWriterImpl.cpp @@ -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) diff --git a/src/cpp/fastdds/subscriber/DataReaderImpl.cpp b/src/cpp/fastdds/subscriber/DataReaderImpl.cpp index 822ae4caf76..1cc74151d85 100644 --- a/src/cpp/fastdds/subscriber/DataReaderImpl.cpp +++ b/src/cpp/fastdds/subscriber/DataReaderImpl.cpp @@ -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)