aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Logging/Logger.cs
diff options
context:
space:
mode:
authorBerkan Diler <berkan.diler1@ingka.ikea.com>2022-02-13 14:50:07 +0100
committerGitHub <noreply@github.com>2022-02-13 10:50:07 -0300
commit8f353457295767edaaf9dfccb4d938bc1befeb40 (patch)
treed263a7bdb9aca026105b0681d3d5ec4849cf8a2e /Ryujinx.Common/Logging/Logger.cs
parentce71f9144e1575c432bb009755f01466cd685fbf (diff)
Use Enum and Delegate.CreateDelegate generic overloads (#3111)1.1.27
* Use Enum generic overloads * Remove EnumExtensions.cs * Use Delegate.CreateDelegate generic overloads
Diffstat (limited to 'Ryujinx.Common/Logging/Logger.cs')
-rw-r--r--Ryujinx.Common/Logging/Logger.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Common/Logging/Logger.cs b/Ryujinx.Common/Logging/Logger.cs
index e41eaf53..040a555b 100644
--- a/Ryujinx.Common/Logging/Logger.cs
+++ b/Ryujinx.Common/Logging/Logger.cs
@@ -94,7 +94,7 @@ namespace Ryujinx.Common.Logging
static Logger()
{
- m_EnabledClasses = new bool[Enum.GetNames(typeof(LogClass)).Length];
+ m_EnabledClasses = new bool[Enum.GetNames<LogClass>().Length];
for (int index = 0; index < m_EnabledClasses.Length; index++)
{