diff options
| author | Peter LaFosse <peter@vector35.com> | 2023-03-01 19:40:39 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2023-03-01 19:40:51 -0500 |
| commit | e4ecd5be974b417f281916918492da2c32aa16e2 (patch) | |
| tree | 6c23af4ef18fae0ab176845aa9dc999a755fc009 /binaryninjaapi.h | |
| parent | 0d55f0f942700a08aa63fb68a92fd98b45911fc1 (diff) | |
Fix Confidence<> operator==
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<T>& 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<Ref<T>>& a) const { return !(*this == a); } |
