mirror of
https://github.com/mbierlee/poodinis.git
synced 2025-01-18 21:40:38 +01:00
Change autowire UDA to be a class instead of enum
This commit is contained in:
parent
ec5cad2bbf
commit
14d504a752
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue