Compare connections by object id

This commit is contained in:
kobewi 2021-09-08 13:57:50 +02:00
parent 76693aa364
commit 02535e7f17
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ bool Object::Connection::operator<(const Connection &p_conn) const {
if (target == p_conn.target) {
return method < p_conn.method;
} else {
return target < p_conn.target;
return target->get_instance_id() < p_conn.target->get_instance_id();
}
} else {
return signal < p_conn.signal;