diff --git a/foros/include/akit/failover/foros/cluster_node_publisher.hpp b/foros/include/akit/failover/foros/cluster_node_publisher.hpp index 2a9a7e5..fd0aee6 100644 --- a/foros/include/akit/failover/foros/cluster_node_publisher.hpp +++ b/foros/include/akit/failover/foros/cluster_node_publisher.hpp @@ -72,7 +72,7 @@ class ClusterNodePublisher : public rclcpp::Publisher { * * \param[in] msg a message to publish. */ - void publish(std::unique_ptr msg) override { + void publish(std::unique_ptr msg) { if (node_lifecycle_interface_ != nullptr && !node_lifecycle_interface_->is_activated()) { // ignore publish request when publisher is not activated @@ -88,7 +88,7 @@ class ClusterNodePublisher : public rclcpp::Publisher { * * \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