From 06024e55db3c3d30b0922e73318fd2b2e796f284 Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Sun, 22 Jun 2014 16:52:50 +0200 Subject: [PATCH] Use typeof instead --- test/poodinis/autowiretest.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }