Skip to content

Commit 3a17376

Browse files
committed
feat: response to precommit-ci
Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
1 parent f77da3e commit 3a17376

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

system/cgroup_setter/src/cgroup_setter.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#include <fstream>
2929
#include <iostream>
3030
#include <sstream>
31+
#include <vector>
32+
#include <memory>
3133

3234
namespace bp = boost::process;
3335

@@ -71,7 +73,7 @@ CgroupSetter::CgroupSetter(const rclcpp::NodeOptions & options)
7173
updater_.add("Cgroup Setting", this, &CgroupSetter::checkCgroup);
7274

7375
// Timer
74-
using namespace std::chrono_literals;
76+
using namespace std::literals::chrono_literals;
7577
timer_ = rclcpp::create_timer(
7678
this, this->get_clock(), 1s, std::bind(&CgroupSetter::checkProcessAndAddToCgroup, this));
7779
}

0 commit comments

Comments
 (0)