diff --git a/source/poodinis/autowire.d b/source/poodinis/autowire.d index f80d1d0..dda0381 100644 --- a/source/poodinis/autowire.d +++ b/source/poodinis/autowire.d @@ -86,7 +86,7 @@ public void autowire(Type)(DependencyContainer container, Type instance) { } foreach (member ; __traits(allMembers, Type)) { - autowireMember!(member)(container, instance); + autowireMember!member(container, instance); } }