accept custom allocator for LoanedMessage.#2672
Conversation
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
fujitatomoya
left a comment
There was a problem hiding this comment.
@thomasmoore-torc could you review this?
|
Pulls: #2672 |
thomasmoore-torc
left a comment
There was a problem hiding this comment.
Would it make sense to make MessageAllocatorTraits and MessageAllocator public instead of private? I don't think it's necessary for this specific change, but it would make LoanedMessage be more consistent with other class definitions in rclcpp.
Also, would it be possible to back-port this change to jazzy and iron?
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
I think we can, this can be more flexible to take the argument for message allocator, besides no tests are broken with this change. |
|
Pulls: #2672 |
* accept custom allocator for LoanedMessage. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * move message allocator using directives to public. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Signed-off-by: HarunTeper <harun.teper@tu-dortmund.de>
closes #2671