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