Change autowire UDA to be a class instead of enum

This commit is contained in:
Mike Bierlee 2014-05-30 01:09:37 +02:00
parent ec5cad2bbf
commit 14d504a752

View file

@ -2,7 +2,7 @@ module poodinis.autowire;
public import poodinis.container; public import poodinis.container;
enum Autowire; class Autowire{};
public void autowire(Type)(Container container, Type instance) { public void autowire(Type)(Container container, Type instance) {
import std.stdio; import std.stdio;