summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-01-05 13:27:15 -0500
committerGlenn Smith <glenn@vector35.com>2024-01-05 13:27:15 -0500
commit7590260227210922004430036205744083351785 (patch)
tree3a9b052b485ab032b690d21b0b79be4a0a6b71b2 /binaryninjaapi.h
parent92b817b784d2aedc1bfa942c30dcc0c05042458d (diff)
Actually, this specific formatter is unnecessary
We don't need a formatter for Confidence<Ref<T>> when we have Confidence<T> and Ref<T> already, so this can just go.
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 3a4e0879..97acd5af 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -16355,15 +16355,6 @@ template<typename T> struct fmt::formatter<BinaryNinja::Confidence<T>>
constexpr auto parse(format_parse_context& ctx) -> format_parse_context::iterator { return ctx.begin(); }
};
-template<typename T> struct fmt::formatter<BinaryNinja::Confidence<BinaryNinja::Ref<T>>>
-{
- format_context::iterator format(const BinaryNinja::Confidence<BinaryNinja::Ref<T>>& obj, format_context& ctx) const
- {
- return fmt::format_to(ctx.out(), "{} ({} confidence)", *obj.GetValue().GetPtr(), obj.GetConfidence());
- }
- constexpr auto parse(format_parse_context& ctx) -> format_parse_context::iterator { return ctx.begin(); }
-};
-
template<> struct fmt::formatter<BinaryNinja::Metadata>
{
format_context::iterator format(const BinaryNinja::Metadata& obj, format_context& ctx) const;