diff --git a/r2r_msg_gen/src/introspection.rs b/r2r_msg_gen/src/introspection.rs index 4b330d041..1f95a5eb7 100644 --- a/r2r_msg_gen/src/introspection.rs +++ b/r2r_msg_gen/src/introspection.rs @@ -234,7 +234,7 @@ impl MemberType { MemberType::F32 => quote! { f32 }, MemberType::F64 => quote! { f64 }, MemberType::Char => quote! { std::ffi::c_char }, - MemberType::WChar => quote! { widestring::WideChar }, + MemberType::WChar => quote! { u16 }, MemberType::String => quote! { std::string::String }, MemberType::WString => quote! { std::string::String }, MemberType::Message => quote! { message },