From c3260b3d5beb34a43c38808c7a35c90b23e7cd39 Mon Sep 17 00:00:00 2001 From: Steve Vermeulen Date: Sun, 7 Feb 2016 15:08:02 -0400 Subject: [PATCH] Fixed compile warning, incremented version --- .../Singleton/Method/MethodSingletonProviderCreator.cs | 4 +--- .../Source/Providers/Singleton/SingletonProviderCreator.cs | 2 +- UnityProject/Assets/Zenject/Version.txt | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/UnityProject/Assets/Zenject/Source/Providers/Singleton/Method/MethodSingletonProviderCreator.cs b/UnityProject/Assets/Zenject/Source/Providers/Singleton/Method/MethodSingletonProviderCreator.cs index 129b02ed4..c589d944c 100644 --- a/UnityProject/Assets/Zenject/Source/Providers/Singleton/Method/MethodSingletonProviderCreator.cs +++ b/UnityProject/Assets/Zenject/Source/Providers/Singleton/Method/MethodSingletonProviderCreator.cs @@ -9,13 +9,11 @@ namespace Zenject public class MethodSingletonProviderCreator { readonly Dictionary _creators = new Dictionary(); - readonly DiContainer _container; readonly SingletonRegistry _singletonRegistry; public MethodSingletonProviderCreator( - DiContainer container, SingletonRegistry singletonRegistry) + SingletonRegistry singletonRegistry) { - _container = container; _singletonRegistry = singletonRegistry; } diff --git a/UnityProject/Assets/Zenject/Source/Providers/Singleton/SingletonProviderCreator.cs b/UnityProject/Assets/Zenject/Source/Providers/Singleton/SingletonProviderCreator.cs index 73a2a0ce6..55f3fcb2f 100644 --- a/UnityProject/Assets/Zenject/Source/Providers/Singleton/SingletonProviderCreator.cs +++ b/UnityProject/Assets/Zenject/Source/Providers/Singleton/SingletonProviderCreator.cs @@ -27,7 +27,7 @@ public SingletonProviderCreator( DiContainer container, SingletonRegistry singletonRegistry) { _typeSingletonProviderCreator = new TypeSingletonProviderCreator(container, singletonRegistry); - _methodSingletonProviderCreator = new MethodSingletonProviderCreator(container, singletonRegistry); + _methodSingletonProviderCreator = new MethodSingletonProviderCreator(singletonRegistry); _instanceSingletonProviderCreator = new InstanceSingletonProviderCreator(container, singletonRegistry); _factorySingletonProviderCreator = new FactorySingletonProviderCreator(container, singletonRegistry); diff --git a/UnityProject/Assets/Zenject/Version.txt b/UnityProject/Assets/Zenject/Version.txt index cc1923a40..bd28b9c5c 100644 --- a/UnityProject/Assets/Zenject/Version.txt +++ b/UnityProject/Assets/Zenject/Version.txt @@ -1 +1 @@ -3.8 +3.9