Skip to content

Commit 3eaf60a

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclcpp/include/rclcpp/strategies/allocator_memory_strategy.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ class AllocatorMemoryStrategy : public memory_strategy::MemoryStrategy
393393
waitable_triggered_handles_.empty() ? waitable_handles_ : waitable_triggered_handles_;
394394
auto it = waitable_handles.begin();
395395
while (it != waitable_handles.end()) {
396-
std::shared_ptr<Waitable> waitable = *it;
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)