Skip to content

Commit aa60fcf

Browse files
authored
it misses the iterator second to lock the weakptr. (#2958)
Signed-off-by: Tomoya Fujita <[email protected]>
1 parent b14af74 commit aa60fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclcpp_action/include/rclcpp_action/client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ class Client : public ClientBase
350350
return;
351351
}
352352

353-
goal_handle = it->lock();
353+
goal_handle = it->second.lock();
354354
}
355355

356356
if (goal_handle) {

0 commit comments

Comments
 (0)