1
0
forked from ROMEO/nexosim

Fix missing derive clone statement for Requestor

This commit is contained in:
SMassalski 2024-10-17 16:20:44 +02:00
parent ef43f99a9c
commit ef17e56b10

View File

@ -202,6 +202,7 @@ impl<T: Clone + Send + 'static> fmt::Debug for Output<T> {
/// When a `Requestor` is cloned, the information on connected ports remains /// When a `Requestor` is cloned, the information on connected ports remains
/// shared and therefore all clones use and modify the same list of connected /// shared and therefore all clones use and modify the same list of connected
/// ports. /// ports.
#[derive(Clone)]
pub struct Requestor<T: Clone + Send + 'static, R: Send + 'static> { pub struct Requestor<T: Clone + Send + 'static, R: Send + 'static> {
broadcaster: CachedRwLock<QueryBroadcaster<T, R>>, broadcaster: CachedRwLock<QueryBroadcaster<T, R>>,
} }