Skip to content

Commit a847909

Browse files
fix: correct rclcpp::ok usage in ProcessAliveMonitor loop condition
Signed-off-by: Kyoichi Sugahara <[email protected]>
1 parent b0dae02 commit a847909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/autoware_process_alive_monitor/src/autoware_process_alive_monitor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ void ProcessAliveMonitor::read_launch_log_diff()
150150
std::streampos last_valid_pos = static_cast<std::streampos>(last_file_pos_);
151151

152152
size_t iteration = 0;
153-
while (rclcpp::ok) {
153+
while (rclcpp::ok()) {
154154
// Check current position
155155
std::streampos current_pos_start = ifs.tellg();
156156
if (current_pos_start == std::streampos(-1)) {

0 commit comments

Comments
 (0)