diff --git a/src/Parser/Parser.cpp b/src/Parser/Parser.cpp index 9e1f08ad..7f3a8b05 100644 --- a/src/Parser/Parser.cpp +++ b/src/Parser/Parser.cpp @@ -491,7 +491,6 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C) { case TargetCXXABI::Microsoft: { - C->Layout->ABI = CppSharp::AST::CppAbi::Microsoft; MicrosoftVFTableContext VTContext(*AST); auto VFPtrs = VTContext.getVFPtrOffsets(RD); @@ -513,7 +512,6 @@ void Parser::WalkVTable(clang::CXXRecordDecl* RD, CppSharp::AST::Class^ C) } case TargetCXXABI::GenericItanium: { - C->Layout->ABI = CppSharp::AST::CppAbi::Itanium; VTableContext VTContext(*AST); auto& VTLayout = VTContext.getVTableLayout(RD);