diff --git a/src/CLI/Generator.cs b/src/CLI/Generator.cs index 4c1e4c32..c0e53d20 100644 --- a/src/CLI/Generator.cs +++ b/src/CLI/Generator.cs @@ -1,14 +1,12 @@ +using CppSharp.AST; +using CppSharp.Generators; +using CppSharp.Parser; +using CppSharp.Passes; using System; using System.Collections.Generic; using System.IO; using System.Linq; -using CppSharp.AST; -using CppSharp.Generators; -using CppSharp.Passes; -using CppSharp.Types; using CppAbi = CppSharp.Parser.AST.CppAbi; -using CppSharp.Parser; -using CppSharp; namespace CppSharp { diff --git a/src/Generator/AST/VTables.cs b/src/Generator/AST/VTables.cs index bda144a4..8f10d16c 100644 --- a/src/Generator/AST/VTables.cs +++ b/src/Generator/AST/VTables.cs @@ -19,7 +19,8 @@ namespace CppSharp.AST } throw new NotSupportedException( - string.Format("VTable format for {0} is not supported", @class.Layout.ABI.ToString().Split('.').Last()) + string.Format("VTable format for {0} is not supported", + @class.Layout.ABI.ToString().Split('.').Last()) ); } @@ -64,7 +65,8 @@ namespace CppSharp.AST where j >= 0 select j).First(); default: - return @class.Layout.Layout.Components.FindIndex(m => m.Method == function) - ItaniumOffsetToTopAndRTTI; + return @class.Layout.Layout.Components.FindIndex( + m => m.Method == function) - ItaniumOffsetToTopAndRTTI; } }