Skip to content

Commit 80ebb4e

Browse files
committed
update API
Signed-off-by: Esteve Fernandez <[email protected]>
1 parent f4ae75d commit 80ebb4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rclrs/src/dynamic_message/dynamic_subscription.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ impl<Payload> DynamicSubscriptionExecutable<Payload> {
215215
}
216216

217217
impl<Payload: 'static> RclPrimitive for DynamicSubscriptionExecutable<Payload> {
218-
unsafe fn execute(&mut self, payload: &mut dyn Any) -> Result<(), RclrsError> {
218+
unsafe fn execute(&mut self, ready: ReadyKind, payload: &mut dyn Any) -> Result<(), RclrsError> {
219+
ready.for_basic()?;
219220
self.callback
220221
.lock()
221222
.unwrap()

0 commit comments

Comments
 (0)