summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h4
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); }