Skip to content

Commit

Permalink
Deleted override options of publisher functions
Browse files Browse the repository at this point in the history
Signed-off-by: Taehun Lim <thlim@robotis.com>
  • Loading branch information
Taehun Lim committed Oct 15, 2022
1 parent cecb810 commit 2c8c77d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions foros/include/akit/failover/foros/cluster_node_publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ClusterNodePublisher : public rclcpp::Publisher<MessageT, Alloc> {
*
* \param[in] msg a message to publish.
*/
void publish(std::unique_ptr<MessageT, MessageDeleter> msg) override {
void publish(std::unique_ptr<MessageT, MessageDeleter> msg) {
if (node_lifecycle_interface_ != nullptr &&
!node_lifecycle_interface_->is_activated()) {
// ignore publish request when publisher is not activated
Expand All @@ -88,7 +88,7 @@ class ClusterNodePublisher : public rclcpp::Publisher<MessageT, Alloc> {
*
* \param[in] msg a message to publish.
*/
void publish(const MessageT& msg) override {
void publish(const MessageT& msg) {
if (node_lifecycle_interface_ != nullptr &&
!node_lifecycle_interface_->is_activated()) {
// ignore publish request when publisher is not activated
Expand Down

0 comments on commit 2c8c77d

Please sign in to comment.