summaryrefslogtreecommitdiff
path: root/highlevelilinstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'highlevelilinstruction.cpp')
-rw-r--r--highlevelilinstruction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/highlevelilinstruction.cpp b/highlevelilinstruction.cpp
index 33c5db29..ce0e72ee 100644
--- a/highlevelilinstruction.cpp
+++ b/highlevelilinstruction.cpp
@@ -940,7 +940,7 @@ char* HighLevelILInstructionBase::Dump() const
{
text += "[instr " + to_string(instructionIndex) + "] ";
}
- Ref<Type> type = GetType();
+ Ref<Type> type = GetType().GetValue();
if (type)
{
text += "[type: " + type->GetString() + "] ";
@@ -3344,7 +3344,7 @@ fmt::format_context::iterator fmt::formatter<HighLevelILInstruction>::format(con
{
fmt::format_to(ctx.out(), "[instr {}] ", obj.instructionIndex);
}
- Ref<Type> type = obj.GetType();
+ Ref<Type> type = obj.GetType().GetValue();
if (type)
{
fmt::format_to(ctx.out(), "[type: {}] ", type->GetString());