Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed May 13, 2024
1 parent 7804f09 commit 892c73f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions ecal/core/src/readwrite/ecal_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ namespace eCAL
m_receive_time(0),
m_clock(0),
m_frequency_calculator(0.0f),
m_share_ttype(Config::IsTopicTypeSharingEnabled()),
m_share_tdesc(Config::IsTopicDescriptionSharingEnabled()),
m_created(false)
{
#ifndef NDEBUG
Expand All @@ -87,12 +89,6 @@ namespace eCAL
const std::chrono::milliseconds registration_timeout(Config::GetRegistrationTimeoutMs());
m_pub_map.set_expiration(registration_timeout);

// allow to share topic type
m_share_ttype = Config::IsTopicTypeSharingEnabled();

// allow to share topic description
m_share_tdesc = Config::IsTopicDescriptionSharingEnabled();

// start transport layers
SubscribeToLayers();

Expand Down
6 changes: 3 additions & 3 deletions ecal/core/src/service/ecal_service_client_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ namespace eCAL
Stop();
}

bool CServiceClientImpl::Start(const std::string& service_name_, const ServiceMethodInformationMapT& methods_information_map_)
bool CServiceClientImpl::Start(const std::string& service_name_, const ServiceMethodInformationMapT& method_information_map_)
{
if (m_created) return(false);

// set service name and methods
m_service_name = service_name_;
m_method_information_map = methods_information_map_;
m_service_name = service_name_;
m_method_information_map = method_information_map_;

// initialize call count map
for (const auto& method_information_pair : m_method_information_map)
Expand Down

0 comments on commit 892c73f

Please sign in to comment.