Skip to content

Commit 0d72d26

Browse files
committed
Add support for loaned messages (#212)
1 parent e0f83cf commit 0d72d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rosidl_runtime_rs/src/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub trait SequenceAlloc: Sized {
3737
/// used by user code.
3838
///
3939
/// User code never needs to call this trait's method, much less implement this trait.
40-
pub trait RmwMessage: Clone + Debug + Default + Send + Sync {
40+
pub trait RmwMessage: Clone + Debug + Default + Send + Sync + Message {
4141
/// Get a pointer to the correct `rosidl_message_type_support_t` structure.
4242
fn get_type_support() -> libc::uintptr_t;
4343
}

0 commit comments

Comments
 (0)