diff --git a/rclcpp/include/rclcpp/timer.hpp b/rclcpp/include/rclcpp/timer.hpp index 5180cab7fb..48d517c806 100644 --- a/rclcpp/include/rclcpp/timer.hpp +++ b/rclcpp/include/rclcpp/timer.hpp @@ -156,7 +156,7 @@ class GenericTimer : public TimerBase using WallTimer = GenericTimer; -} /* namespace timer */ -} /* namespace rclcpp */ +} // namespace timer +} // namespace rclcpp #endif // RCLCPP__TIMER_HPP_ diff --git a/rclcpp/src/rclcpp/executors/single_threaded_executor.cpp b/rclcpp/src/rclcpp/executors/single_threaded_executor.cpp index 23001fe5fa..39f04bf1f8 100644 --- a/rclcpp/src/rclcpp/executors/single_threaded_executor.cpp +++ b/rclcpp/src/rclcpp/executors/single_threaded_executor.cpp @@ -16,7 +16,8 @@ using rclcpp::executors::single_threaded_executor::SingleThreadedExecutor; -SingleThreadedExecutor::SingleThreadedExecutor(rclcpp::memory_strategy::MemoryStrategy::SharedPtr ms) +SingleThreadedExecutor::SingleThreadedExecutor( + rclcpp::memory_strategy::MemoryStrategy::SharedPtr ms) : executor::Executor(ms) {}