Skip to content

Commit 9852603

Browse files
committed
Fix fmt formatting of IL instruction tokens
1 parent 5651090 commit 9852603

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lowlevelilinstruction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3765,7 +3765,7 @@ fmt::format_context::iterator fmt::formatter<LowLevelILInstruction>::format(cons
37653765

37663766
for (auto& token: tokens)
37673767
{
3768-
fmt::format_to(ctx.out(), token.text);
3768+
fmt::format_to(ctx.out(), "{}", token.text);
37693769
}
37703770
}
37713771
else

mediumlevelilinstruction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3205,7 +3205,7 @@ fmt::format_context::iterator fmt::formatter<MediumLevelILInstruction>::format(c
32053205

32063206
for (auto& token: tokens)
32073207
{
3208-
fmt::format_to(ctx.out(), token.text);
3208+
fmt::format_to(ctx.out(), "{}", token.text);
32093209
}
32103210
}
32113211
else

0 commit comments

Comments
 (0)