misc: chore: Fix object creation

This commit is contained in:
KeatonTheBot committed 2025-09-24 13:44:00 -05:00
1 parent 378dc33cca
commit 1f979e5c6f
42 files changed
+303 -304

No files matched your search

@@ -70,7 +70,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
continue;
}
CodeGenerator generator = new CodeGenerator();
CodeGenerator generator = new();
string className = commandInterface.ClassDeclarationSyntax.Identifier.ToString();
generator.AppendLine("using Ryujinx.Horizon.Common;");
@@ -24,7 +24,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
return;
}
CommandInterface commandInterface = new CommandInterface(classDeclaration);
CommandInterface commandInterface = new(classDeclaration);
foreach (var memberDeclaration in classDeclaration.Members)
{