aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/AppBase
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-11-11 17:00:19 +0000
committerGitHub <noreply@github.com>2020-11-11 17:00:19 +0000
commitcaea2bb8623c37ef1162c6132dcfc36439bb2f1a (patch)
tree8268a08a2abe26d2cf094a35a56813c2b28c6064 /Emby.Server.Implementations/AppBase
parent957b5df0f0048f5e4930cdce97e4306c98a96b40 (diff)
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Emby.Server.Implementations/AppBase')
-rw-r--r--Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
index 15bf92db1..4f72c8ce1 100644
--- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
+++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
@@ -140,7 +140,7 @@ namespace Emby.Server.Implementations.AppBase
public virtual void RegisterConfiguration<T>()
where T : IConfigurationFactory
{
- IConfigurationFactory factory = (IConfigurationFactory)Activator.CreateInstance(typeof(T));
+ IConfigurationFactory factory = Activator.CreateInstance<T>();
if (_configurationFactories == null)
{