From f72905aa29720de25a69a61c64291a387adda31f Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 23 Feb 2020 14:10:24 +0100 Subject: [PATCH] Fix Breakpoint compare in new Debugger. Only used to keep the hashmap, but clearly bogus. --- editor/debugger/editor_debugger_node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/debugger/editor_debugger_node.h b/editor/debugger/editor_debugger_node.h index 3c232d4d74c..13a1d6dcb38 100644 --- a/editor/debugger/editor_debugger_node.h +++ b/editor/debugger/editor_debugger_node.h @@ -59,7 +59,7 @@ private: bool operator<(const Breakpoint &p_b) const { if (line == p_b.line) - return line < p_b.line; + return source < p_b.source; return line < p_b.line; }