From 9811203444432647137256523184571946151749 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 14 Dec 2023 22:18:26 -0500 Subject: Add QNAT::operator== so unordered_map works Surprised this isn't a thing yet --- binaryninjaapi.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 2c9f1582..5f7e8cc2 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -7706,6 +7706,10 @@ namespace BinaryNinja { { return name < other.name; } + bool operator==(const QualifiedNameAndType& other) const + { + return name == other.name && type == other.type; + } }; struct TypeAndId -- cgit v1.3.1