File tree 1 file changed +8
-6
lines changed
rclcpp/include/rclcpp/allocator
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,14 @@ using AllocRebind = typename std::allocator_traits<Alloc>::template rebind_trait
31
31
32
32
} // namespace allocator
33
33
34
- // Builds the RCL default allocator for the C++ standard allocator.
35
- // This assumes that the user intent behind both allocators is the
36
- // same: Using system malloc for allocation.
37
- //
38
- // If you're using a custom allocator in ROS, you'll need to provide
39
- // your own overload for this function.
34
+ // / Return the equivalent rcl_allocator_t for the C++ standard allocator.
35
+ /* *
36
+ * This assumes that the user intent behind both allocators is the
37
+ * same: Using system malloc for allocation.
38
+ *
39
+ * If you're using a custom allocator in ROS, you'll need to provide
40
+ * your own overload for this function.
41
+ */
40
42
template <typename T>
41
43
rcl_allocator_t get_rcl_allocator (std::allocator<T> allocator)
42
44
{
You can’t perform that action at this time.
0 commit comments