diff options
| author | Rusty Wagner <rusty@vector35.com> | 2020-10-12 21:58:20 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-10-12 21:58:20 -0400 |
| commit | 8210d6ed685415cfc545d66166d008377792fb1a (patch) | |
| tree | ee2a9d75ee194cf27f3c016a30184f62949b83b2 /mediumlevelilinstruction.h | |
| parent | d57335f3649f34cdf0247f46b7880a7882d82c9c (diff) | |
Fix stale references when modifying in place
Diffstat (limited to 'mediumlevelilinstruction.h')
| -rw-r--r-- | mediumlevelilinstruction.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mediumlevelilinstruction.h b/mediumlevelilinstruction.h index 42567834..0cd8fde9 100644 --- a/mediumlevelilinstruction.h +++ b/mediumlevelilinstruction.h @@ -203,11 +203,10 @@ namespace BinaryNinja { #ifdef BINARYNINJACORE_LIBRARY MediumLevelILFunction* function; - const BNMediumLevelILInstruction* instr; #else Ref<MediumLevelILFunction> function; - BNMediumLevelILInstruction instr; #endif + BNMediumLevelILInstruction instr; size_t operand, count; bool operator==(const ListIterator& a) const; |
