1
0
forked from ROMEO/nexosim

Merge pull request #48 from SMassalski/main

Fix missing derive clone statement for Requestor
This commit is contained in:
Serge Barral 2024-10-17 17:29:37 +02:00 committed by GitHub
commit e7889c8e9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
/// shared and therefore all clones use and modify the same list of connected
/// ports.
#[derive(Clone)]
pub struct Requestor<T: Clone + Send + 'static, R: Send + 'static> {
broadcaster: CachedRwLock<QueryBroadcaster<T, R>>,
}