From 56877b1c87c3f75eeae1f04f4d09e5086ebe2b1b Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 22 Jan 2025 15:22:10 -0500 Subject: Add CursorPosition::operator== --- ui/flowgraphwidget.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index e41c8586..b36c9043 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -82,10 +82,11 @@ class BINARYNINJAUIAPI FlowGraphWidget : size_t lineIndexForAddress; size_t tokenIndex; size_t characterIndex; - // Directly from QMouseEvent, not used in comparator + // Directly from QMouseEvent, not used in comparators int cursorX; int cursorY; + bool operator==(const CursorPosition& other) const; bool operator<(const CursorPosition& other) const; }; -- cgit v1.3.1