Skip to content

Commit

Permalink
Refs #21458: Add review changes
Browse files Browse the repository at this point in the history
Signed-off-by: Carlosespicur <[email protected]>
  • Loading branch information
Carlosespicur committed Sep 12, 2024
1 parent 6101473 commit a314199
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion src/cpp/StatisticsBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ std::string StatisticsBackend::get_type_idl(
}
Info topic_info = StatisticsBackend::get_info(entity_id);
return StatisticsBackendData::get_instance()->database_->get_type_idl(topic_info[DATA_TYPE_TAG]);

}

std::vector<StatisticsData> StatisticsBackend::get_data(
Expand Down
9 changes: 1 addition & 8 deletions src/cpp/database/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,14 +284,7 @@ bool Database::is_type_in_database(
const std::string& type_name)
{

if (type_idls_.find(type_name) != type_idls_.end())
{
return true;
}
else
{
return false;
}
return (type_idls_.find(type_name) != type_idls_.end());
}

void Database::insert_new_type_idl(
Expand Down
1 change: 0 additions & 1 deletion src/cpp/database/database.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ class Database
const std::string& topic_type,
const EntityId& topic_id);


/**
* @brief Create new Topic and insert it in database.
* @param name The name of the Topic.
Expand Down
2 changes: 0 additions & 2 deletions src/cpp/subscriber/StatisticsParticipantListener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,6 @@ void StatisticsParticipantListener::on_data_reader_discovery(
entity_queue_->flush();
data_queue_->start_consumer();
monitor_service_status_data_queue_->start_consumer();


}

void StatisticsParticipantListener::on_data_writer_discovery(
Expand Down

0 comments on commit a314199

Please sign in to comment.