mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
misc: chore: Fix object creation
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user