diff --git a/src/rstd/atomic/atomic_object.rs b/src/rstd/atomic/atomic_object.rs index b920dad..adf6d1a 100644 --- a/src/rstd/atomic/atomic_object.rs +++ b/src/rstd/atomic/atomic_object.rs @@ -36,7 +36,9 @@ impl Serializable for AtomicObject { } } -pub trait AoProxy<'a, Ctx: Context<'a>>: AtomicModeProxy { +pub trait AoProxy<'a, Ctx: Context<'a>> { + type A; + type Mtbl: MentionableBase<'a, Ctx, Fctr = Self::Fctr> + MentionableTop<'a, Ctx>; type Fctr: FactoryBase<'a, Ctx, Mtbl = Self::Mtbl>; @@ -97,6 +99,8 @@ impl ImplMode for AtomicFactory { impl<'a, Ctx: Context<'a>, A: RegularAtomic + ImplMode> AoProxy<'a, Ctx> for WithMode { + type A = A; + type Mtbl = AtomicObject; type Fctr = AtomicFactory;