From 125c5d87043a00fc28b66eea18faefa7e2bd60a8 Mon Sep 17 00:00:00 2001 From: Philip Craig Date: Thu, 14 Mar 2024 16:37:16 +1000 Subject: [PATCH] read/cfi: consistent order for Section and R type parameters --- src/read/cfi.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/read/cfi.rs b/src/read/cfi.rs index f644203a..2c25f748 100644 --- a/src/read/cfi.rs +++ b/src/read/cfi.rs @@ -2030,12 +2030,16 @@ impl> UnwindContext { } /// Run the CIE's initial instructions and initialize this `UnwindContext`. - fn initialize, Section: UnwindSection>( + fn initialize( &mut self, section: &Section, bases: &BaseAddresses, cie: &CommonInformationEntry, - ) -> Result<()> { + ) -> Result<()> + where + R: Reader, + Section: UnwindSection, + { // Always reset because previous initialization failure may leave dirty state. self.reset();