summaryrefslogtreecommitdiff
path: root/editor/debugger/editor_debugger_node.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-02-23 14:10:24 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-02-23 14:15:22 +0100
commitf72905aa29720de25a69a61c64291a387adda31f (patch)
tree3ce9d1fcf124fcf8fc09c0bb8a952731468f2575 /editor/debugger/editor_debugger_node.h
parent223c5ef8a3d07aa9b7fe226764ac473319c2d9cd (diff)
Fix Breakpoint compare in new Debugger.
Only used to keep the hashmap, but clearly bogus.
Diffstat (limited to 'editor/debugger/editor_debugger_node.h')
-rw-r--r--editor/debugger/editor_debugger_node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/editor_debugger_node.h b/editor/debugger/editor_debugger_node.h
index 3c232d4d74..13a1d6dcb3 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;
}