use reinterpret_cast for function pointer conversion.#1919
Conversation
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
|
#1263 subscription callbacks do not have this problem, that has been verified with https://github.com/fujitatomoya/ros2_test_prover/blob/3f8005350d75b0da30bad734252966d7c6868ca1/prover_rclcpp/src/rclcpp_1915.cpp#L27-L31 |
Yeah, if I remember correctly, function pointers and |
fujitatomoya
left a comment
There was a problem hiding this comment.
@christophebedard thanks for review, i will start the CI.
|
@sloretz @clalancette could you review this when you have time? |
clalancette
left a comment
There was a problem hiding this comment.
This looks very reasonable to me. Let's wait to merge this until after we branch off for Humble (probably today).
address #1915
Signed-off-by: Tomoya Fujita Tomoya.Fujita@sony.com