We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeaf0f4 commit 3eaf60aCopy full SHA for 3eaf60a
rclcpp/include/rclcpp/strategies/allocator_memory_strategy.hpp
@@ -393,7 +393,7 @@ class AllocatorMemoryStrategy : public memory_strategy::MemoryStrategy
393
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;
+ std::shared_ptr<Waitable> & waitable = *it;
397
if (waitable) {
398
// Find the group for this handle and see if it can be serviced
399
auto group = get_group_by_waitable(waitable, weak_groups_to_nodes);
0 commit comments