Impl Send for GoalRequest

This commit is contained in:
Martin Dahl 2021-08-17 14:49:09 +02:00
parent b47caacaec
commit 2babcaa5c6
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,4 @@
use super::*;
// use core::pin::Pin;
// use futures::prelude::*;
use futures::future::{join_all, JoinAll};
#[derive(Clone)]
@ -85,6 +83,8 @@ where
request_id: rmw_request_id_t,
}
unsafe impl<T> Send for GoalRequest<T> where T: WrappedActionTypeSupport {}
impl<T: 'static> GoalRequest<T>
where
T: WrappedActionTypeSupport,