aboutsummaryrefslogtreecommitdiff
path: root/src/castable_factory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/castable_factory.rs')
-rw-r--r--src/castable_factory.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/castable_factory.rs b/src/castable_factory.rs
index 5d582bb..c50456c 100644
--- a/src/castable_factory.rs
+++ b/src/castable_factory.rs
@@ -1,9 +1,7 @@
+use crate::interfaces::any_factory::AnyFactory;
use crate::interfaces::factory::IFactory;
-use crate::libs::intertrait::CastFrom;
use crate::ptr::InterfacePtr;
-pub trait AnyFactory: CastFrom {}
-
pub struct CastableFactory<Args, ReturnInterface>
where
Args: 'static,