From 7590260227210922004430036205744083351785 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Fri, 5 Jan 2024 13:27:15 -0500 Subject: Actually, this specific formatter is unnecessary We don't need a formatter for Confidence> when we have Confidence and Ref already, so this can just go. --- binaryninjaapi.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 3a4e0879..97acd5af 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -16355,15 +16355,6 @@ template struct fmt::formatter> constexpr auto parse(format_parse_context& ctx) -> format_parse_context::iterator { return ctx.begin(); } }; -template struct fmt::formatter>> -{ - format_context::iterator format(const BinaryNinja::Confidence>& 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 { format_context::iterator format(const BinaryNinja::Metadata& obj, format_context& ctx) const; -- cgit v1.3.1