summaryrefslogtreecommitdiff
path: root/highlevelilinstruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'highlevelilinstruction.h')
-rw-r--r--highlevelilinstruction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/highlevelilinstruction.h b/highlevelilinstruction.h
index 25c639ec..f962226e 100644
--- a/highlevelilinstruction.h
+++ b/highlevelilinstruction.h
@@ -1448,7 +1448,7 @@ template<> struct fmt::formatter<IL_INS_NS::HighLevelILInstruction>
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;
}
};