summaryrefslogtreecommitdiff
path: root/lowlevelilinstruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'lowlevelilinstruction.h')
-rw-r--r--lowlevelilinstruction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lowlevelilinstruction.h b/lowlevelilinstruction.h
index dd416e90..b9a31798 100644
--- a/lowlevelilinstruction.h
+++ b/lowlevelilinstruction.h
@@ -2026,7 +2026,7 @@ template<> struct fmt::formatter<IL_INS_NS::LowLevelILInstruction>
auto it = ctx.begin(), end = ctx.end();
if (it != end && *it == '?')
presentation = *it++;
- if (it != end && *it != '}') detail::throw_format_error("invalid format");
+ if (it != end && *it != '}') report_error("invalid format");
return it;
}
};