From 227837808014960b34e3d25bd55a81510b531a34 Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Mon, 27 Jun 2016 20:38:17 +0200 Subject: [PATCH] Shift bit of sole option to indicate it's a bitnum --- source/poodinis/container.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/poodinis/container.d b/source/poodinis/container.d index acfbb07..9ed4b89 100644 --- a/source/poodinis/container.d +++ b/source/poodinis/container.d @@ -52,7 +52,7 @@ public enum RegistrationOption { * Prevent a concrete type being registered on itself. With this option you will always need * to use the supertype as the type of the dependency. */ - doNotAddConcreteTypeRegistration = 1, + doNotAddConcreteTypeRegistration = 1 << 0, /** * Prevent a concrete type being registered on itself. With this option you will always need