diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-11-11 17:00:19 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-11 17:00:19 +0000 |
| commit | caea2bb8623c37ef1162c6132dcfc36439bb2f1a (patch) | |
| tree | 8268a08a2abe26d2cf094a35a56813c2b28c6064 | |
| parent | 957b5df0f0048f5e4930cdce97e4306c98a96b40 (diff) | |
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
| -rw-r--r-- | Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | 2 |
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) { |
