diff --git a/test/poodinis/autowiretest.d b/test/poodinis/autowiretest.d index e7f23fa..5daa0ab 100644 --- a/test/poodinis/autowiretest.d +++ b/test/poodinis/autowiretest.d @@ -48,7 +48,7 @@ version(unittest) { public this() { auto container = Container.getInstance(); - container.autowire!ComponentF(this); + container.autowire!(typeof(this))(this); } }