Skip to content

Commit

Permalink
[10792] linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Barro committed May 12, 2021
1 parent 04e51c9 commit 8bd4036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/fastdds/statistics/rtps/StatisticsCommonEmpty.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class StatisticsWriterImpl
*/
inline void on_publish_throughput(
uint32_t)
{
{
}

/// Report that a GAP message is sent
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/statistics/rtps/writer/StatisticsWriterImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void StatisticsWriterImpl::on_publish_throughput(
{
// update state
time_point<steady_clock> former_timepoint;
auto & current_timepoint = get_members()->last_history_change_;
auto& current_timepoint = get_members()->last_history_change_;
{
lock_guard<fastrtps::RecursiveTimedMutex> lock(get_statistics_mutex());
former_timepoint = current_timepoint;
Expand Down

0 comments on commit 8bd4036

Please sign in to comment.