Skip to content

Commit

Permalink
Refs 10789. Linters.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
  • Loading branch information
MiguelCompany committed May 4, 2021
1 parent 1e00e02 commit a39aa34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/cpp/statistics/rtps/reader/StatisticsReaderImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ void StatisticsReaderImpl::on_data_notify(
data.writer_reader_data(notification);

for_each_listener([&data](const std::shared_ptr<IListener>& listener)
{
listener->on_statistics_data(data);
});
{
listener->on_statistics_data(data);
});
}

void StatisticsReaderImpl::on_acknack(
Expand Down
4 changes: 2 additions & 2 deletions test/unittest/statistics/rtps/RTPSStatisticsTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ TEST_F(RTPSStatisticsTests, statistics_rpts_listener_callbacks)
// reader callbacks through participant listener
auto participant_reader_listener = make_shared<MockListener>();
ASSERT_TRUE(participant_->add_statistics_listener(participant_reader_listener,
EventKind::ACKNACK_COUNT | EventKind::HISTORY2HISTORY_LATENCY));
EventKind::ACKNACK_COUNT | EventKind::HISTORY2HISTORY_LATENCY));

// reader specific callbacks
auto reader_listener = make_shared<MockListener>();
Expand Down Expand Up @@ -631,7 +631,7 @@ TEST_F(RTPSStatisticsTests, statistics_rpts_listener_callbacks)
EXPECT_TRUE(participant_->remove_statistics_listener(participant_writer_listener,
EventKind::DATA_COUNT | EventKind::RESENT_DATAS));
EXPECT_TRUE(participant_->remove_statistics_listener(participant_reader_listener,
EventKind::ACKNACK_COUNT | EventKind::HISTORY2HISTORY_LATENCY));
EventKind::ACKNACK_COUNT | EventKind::HISTORY2HISTORY_LATENCY));
}

/*
Expand Down

0 comments on commit a39aa34

Please sign in to comment.