Fix compilation of the parallel version

This commit is contained in:
Crozet Sébastien
2021-04-29 11:42:44 +02:00
parent 3810466326
commit 5cf805075e
9 changed files with 151 additions and 83 deletions

View File

@@ -5,7 +5,7 @@ use crate::data::Index;
// fn get(&self, handle: Index) -> Option<&T>;
// }
pub trait ComponentSetOption<T> {
pub trait ComponentSetOption<T>: Sync {
fn get(&self, handle: Index) -> Option<&T>;
}