From 5cf805075ec8612249d692c319d099f4454931da Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Thu, 29 Apr 2021 11:42:44 +0200 Subject: Fix compilation of the parallel version --- src/data/component_set.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/data/component_set.rs') diff --git a/src/data/component_set.rs b/src/data/component_set.rs index 76e076a..ca7df67 100644 --- a/src/data/component_set.rs +++ b/src/data/component_set.rs @@ -5,7 +5,7 @@ use crate::data::Index; // fn get(&self, handle: Index) -> Option<&T>; // } -pub trait ComponentSetOption { +pub trait ComponentSetOption: Sync { fn get(&self, handle: Index) -> Option<&T>; } -- cgit