Skip to content

Commit

Permalink
make linker happy
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Mar 25, 2021
1 parent 9a607ca commit a9b6c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ntpd_driver/NtpdShmDriver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ using ShmTimeT = volatile struct shmTime;
class NtpdShmDriver : public rclcpp::Node
{
public:
NtpdShmDriver(const rclcpp::NodeOptions & options = rclcpp::NodeOptions());
explicit NtpdShmDriver(const rclcpp::NodeOptions & options = rclcpp::NodeOptions());

private:
rclcpp::Subscription<sensor_msgs::msg::TimeReference>::SharedPtr time_ref_sub_;
Expand Down
2 changes: 1 addition & 1 deletion src/NtpdShmDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,5 @@ void NtpdShmDriver::detach_shmTime(ShmTimeT * shm)
}


#include <rclcpp_components/register_node_macro.hpp>
#include <rclcpp_components/register_node_macro.hpp> // NOLINT
RCLCPP_COMPONENTS_REGISTER_NODE(ntpd_driver::NtpdShmDriver)

0 comments on commit a9b6c79

Please sign in to comment.