From e78cae77103b5396ce42d9e33593ea55f9135be0 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 20 Jan 2025 18:44:25 -0500 Subject: Revert "Add line formatter API and a generic line formatter plugin" This reverts commit 1699c71999d29d32aba5c9f8fea193a661a4b02b. --- lang/rust/pseudorust.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lang/rust/pseudorust.cpp') diff --git a/lang/rust/pseudorust.cpp b/lang/rust/pseudorust.cpp index a1f7defe..837a7932 100644 --- a/lang/rust/pseudorust.cpp +++ b/lang/rust/pseudorust.cpp @@ -7,9 +7,9 @@ using namespace std; using namespace BinaryNinja; -PseudoRustFunction::PseudoRustFunction(LanguageRepresentationFunctionType* type, Architecture* arch, Function* owner, - HighLevelILFunction* highLevelILFunction) : - LanguageRepresentationFunction(type, arch, owner, highLevelILFunction), m_highLevelIL(highLevelILFunction) +PseudoRustFunction::PseudoRustFunction( + Architecture* arch, Function* owner, HighLevelILFunction* highLevelILFunction) : + LanguageRepresentationFunction(arch, owner, highLevelILFunction), m_highLevelIL(highLevelILFunction) { } @@ -2814,7 +2814,7 @@ PseudoRustFunctionType::PseudoRustFunctionType(): LanguageRepresentationFunction Ref PseudoRustFunctionType::Create(Architecture* arch, Function* owner, HighLevelILFunction* highLevelILFunction) { - return new PseudoRustFunction(this, arch, owner, highLevelILFunction); + return new PseudoRustFunction(arch, owner, highLevelILFunction); } -- cgit v1.3.1