Skip to content

Commit 324f864

Browse files
committed
Remove wrong change
Signed-off-by: Barry Xu <[email protected]>
1 parent aeaf0f4 commit 324f864

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rclcpp/include/rclcpp/strategies/allocator_memory_strategy.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,9 @@ class AllocatorMemoryStrategy : public memory_strategy::MemoryStrategy
391391
{
392392
auto & waitable_handles =
393393
waitable_triggered_handles_.empty() ? waitable_handles_ : waitable_triggered_handles_;
394-
auto it = waitable_handles.begin();
395-
while (it != waitable_handles.end()) {
396-
std::shared_ptr<Waitable> waitable = *it;
394+
auto it = waitable_handles_.begin();
395+
while (it != waitable_handles_.end()) {
396+
std::shared_ptr<Waitable> & waitable = *it;
397397
if (waitable) {
398398
// Find the group for this handle and see if it can be serviced
399399
auto group = get_group_by_waitable(waitable, weak_groups_to_nodes);

0 commit comments

Comments
 (0)