Codestyle fix for #2214

This commit is contained in:
Wojtek Figat
2024-02-06 11:13:00 +01:00
parent 756a991c2c
commit b2621ff799

View File

@@ -1955,7 +1955,7 @@ namespace Flax.Build.Bindings
var paramsCount = eventInfo.Type.GenericArgs?.Count ?? 0;
CppIncludeFiles.Add("Engine/Profiler/ProfilerCPU.h");
var bindPrefix = eventInfo.IsStatic ? classTypeNameNative + "::" : "__obj->";
//eventInfo.
if (useCSharp)
{
// C# event invoking wrapper (calls C# event from C++ delegate)
@@ -1970,7 +1970,7 @@ namespace Flax.Build.Bindings
{
if (i != 0)
contents.Append(", ");
contents.Append(eventInfo.Type.GenericArgs[i].GetFullNameNative(buildData,classInfo)).Append(" arg" + i);
contents.Append(eventInfo.Type.GenericArgs[i].GetFullNameNative(buildData, classInfo)).Append(" arg" + i);
}
contents.Append(')').AppendLine();
contents.Append(" {").AppendLine();