From e4ecd5be974b417f281916918492da2c32aa16e2 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 1 Mar 2023 19:40:39 -0500 Subject: Fix Confidence<> operator== --- binaryninjaapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index a364e5d9..17b65b22 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -458,7 +458,7 @@ namespace BinaryNinja { { if (m_confidence != a.m_confidence) return false; - return m_confidence == a.m_confidence; + return m_value == a.m_value; } bool operator!=(const Confidence& a) const { return !(*this == a); } @@ -528,7 +528,7 @@ namespace BinaryNinja { { if (m_confidence != a.m_confidence) return false; - return m_confidence == a.m_confidence; + return m_value == a.m_value; } bool operator!=(const Confidence>& a) const { return !(*this == a); } -- cgit v1.3.1