Fix cpplint and windows build
This commit is contained in:
		
							parent
							
								
									2f6fc44d43
								
							
						
					
					
						commit
						481d58bb6e
					
				
					 2 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -172,7 +172,6 @@ public:
 | 
				
			||||||
   * \param[in] group Callback group to execute this timer's callback in.
 | 
					   * \param[in] group Callback group to execute this timer's callback in.
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
  template<typename CallbackType>
 | 
					  template<typename CallbackType>
 | 
				
			||||||
  RCLCPP_PUBLIC
 | 
					 | 
				
			||||||
  typename rclcpp::timer::WallTimer<CallbackType>::SharedPtr
 | 
					  typename rclcpp::timer::WallTimer<CallbackType>::SharedPtr
 | 
				
			||||||
  create_wall_timer(
 | 
					  create_wall_timer(
 | 
				
			||||||
    std::chrono::nanoseconds period,
 | 
					    std::chrono::nanoseconds period,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -41,7 +41,7 @@ public:
 | 
				
			||||||
  RCLCPP_SMART_PTR_DEFINITIONS_NOT_COPYABLE(TimerBase);
 | 
					  RCLCPP_SMART_PTR_DEFINITIONS_NOT_COPYABLE(TimerBase);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  RCLCPP_PUBLIC
 | 
					  RCLCPP_PUBLIC
 | 
				
			||||||
  TimerBase(std::chrono::nanoseconds period);
 | 
					  explicit TimerBase(std::chrono::nanoseconds period);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  RCLCPP_PUBLIC
 | 
					  RCLCPP_PUBLIC
 | 
				
			||||||
  virtual ~TimerBase();
 | 
					  virtual ~TimerBase();
 | 
				
			||||||
| 
						 | 
					@ -142,7 +142,6 @@ public:
 | 
				
			||||||
  void
 | 
					  void
 | 
				
			||||||
  execute_callback_delegate()
 | 
					  execute_callback_delegate()
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    //callback_(std::move(std::shared_ptr<TimerBase>(this)));
 | 
					 | 
				
			||||||
    callback_(*this);
 | 
					    callback_(*this);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue