From 14d504a752dabbecc5059e4848101ff2d30cea79 Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Fri, 30 May 2014 01:09:37 +0200 Subject: [PATCH] Change autowire UDA to be a class instead of enum --- source/poodinis/autowire.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/poodinis/autowire.d b/source/poodinis/autowire.d index d16980d..52db7b9 100644 --- a/source/poodinis/autowire.d +++ b/source/poodinis/autowire.d @@ -2,7 +2,7 @@ module poodinis.autowire; public import poodinis.container; -enum Autowire; +class Autowire{}; public void autowire(Type)(Container container, Type instance) { import std.stdio;