Skip to content

Commit 251a8a1

Browse files
committed
fix the cpplint errors
1 parent 30c1d5c commit 251a8a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example_external/include/generate_parameter_library_example_external/minimal_publisher_external.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#pragma once
3030

31+
#include <memory>
3132
#include <rclcpp/rclcpp.hpp>
3233
#include <rclcpp_components/register_node_macro.hpp>
3334

@@ -37,7 +38,7 @@ namespace admittance_controller {
3738

3839
class MinimalPublisher : public rclcpp::Node {
3940
public:
40-
MinimalPublisher(const rclcpp::NodeOptions& options = rclcpp::NodeOptions());
41+
explicit MinimalPublisher(const rclcpp::NodeOptions& options = rclcpp::NodeOptions());
4142

4243
private:
4344
void timer_callback();

0 commit comments

Comments
 (0)