diff --git a/source/poodinis/factory.d b/source/poodinis/factory.d index 42fd2fa..a39eb3f 100644 --- a/source/poodinis/factory.d +++ b/source/poodinis/factory.d @@ -49,7 +49,7 @@ class InstanceFactory { this.instance = factoryParameters.existingInstance; } - this.factoryParameters = factoryParameters; + _factoryParameters = factoryParameters; } public @property InstanceFactoryParameters factoryParameters() {