Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Dec 17, 2024
1 parent 213236b commit 8d493a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions ecal/core/include/ecal/msg/dynamic.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ namespace eCAL
/**
* @brief Constructor.
**/
CDynamicMessageSubscriber() : v5::CSubscriber()
{
}
CDynamicMessageSubscriber() : v5::CSubscriber() = default;

/**
* @brief Constructor.
*
* @param topic_name_ Unique topic name.
**/
CDynamicMessageSubscriber(const std::string& topic_name_) : v5::CSubscriber()
, m_cb_callback(nullptr)
, m_error_callback(nullptr)
, m_deserializer()
{
v5::CSubscriber::Create(topic_name_);
Expand Down
8 changes: 2 additions & 6 deletions ecal/core/include/ecal/msg/subscriber.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ namespace eCAL
/**
* @brief Constructor.
**/
CMsgSubscriber() : v5::CSubscriber()
{
}
CMsgSubscriber() : v5::CSubscriber() = default;

/**
* @brief Constructor.
Expand Down Expand Up @@ -246,9 +244,7 @@ namespace eCAL
/**
* @brief Constructor.
**/
CMessageSubscriber() : v5::CSubscriber()
{
}
CMessageSubscriber() : v5::CSubscriber() = default;

/**
* @brief Constructor.
Expand Down

0 comments on commit 8d493a3

Please sign in to comment.