Skip to content

Commit 0be5084

Browse files
committed
Minor formatting fixes.
1 parent 41a3665 commit 0be5084

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Generator/Generators/C/CppSources.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ public override bool VisitMethodDecl(Method method)
390390
return true;
391391
}
392392

393-
394393
public override bool VisitFunctionDecl(Function function)
395394
{
396395
if (!function.IsGenerated || CppHeaders.FunctionIgnored(function))

src/Generator/Passes/MoveFunctionToClassPass.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public override bool VisitFunctionDecl(Function function)
2323
return false;
2424

2525
Class @class = FindClassToMoveFunctionTo(function);
26-
2726
if (@class == null)
2827
return false;
2928

@@ -35,6 +34,7 @@ public override bool VisitFunctionDecl(Function function)
3534
OriginalFunction = null,
3635
IsStatic = true
3736
};
37+
3838
if (method.IsOperator)
3939
{
4040
method.IsNonMemberOperator = true;

0 commit comments

Comments
 (0)