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 122e180 commit 9f25339Copy full SHA for 9f25339
rclcpp/include/rclcpp/strategies/allocator_memory_strategy.hpp
@@ -17,6 +17,7 @@
17
18
#include <memory>
19
#include <vector>
20
+#include <utility>
21
22
#include "rcl/allocator.h"
23
@@ -121,7 +122,7 @@ class AllocatorMemoryStrategy : public memory_strategy::MemoryStrategy
121
122
}
123
for (size_t i = 0; i < waitable_handles_.size(); ++i) {
124
if (waitable_handles_[i]->is_ready(wait_set)) {
- waitable_triggered_handles_.emplace_back(waitable_handles_[i]);
125
+ waitable_triggered_handles_.emplace_back(std::move(waitable_handles_[i]));
126
127
128
0 commit comments