misc: chore: Fix object creation

This commit is contained in:
KeatonTheBot committed 2025-09-25 17:04:07 -05:00
1 parent 0928851966
commit 9cdd9f6dbf
48 files changed
+315 -316

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)
{