summaryrefslogtreecommitdiff
path: root/mediumlevelilinstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mediumlevelilinstruction.cpp')
-rw-r--r--mediumlevelilinstruction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediumlevelilinstruction.cpp b/mediumlevelilinstruction.cpp
index ecdac2e8..5e5c28fb 100644
--- a/mediumlevelilinstruction.cpp
+++ b/mediumlevelilinstruction.cpp
@@ -1116,7 +1116,7 @@ char* MediumLevelILInstructionBase::Dump() const
{
text += "[instr " + to_string(instructionIndex) + "] ";
}
- Ref<Type> type = GetType();
+ Ref<Type> type = GetType().GetValue();
if (type)
{
text += "[type: " + type->GetString() + "] ";
@@ -3196,7 +3196,7 @@ fmt::format_context::iterator fmt::formatter<MediumLevelILInstruction>::format(c
{
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());