Merge pull request #52493 from KoBeWi/this_is_order

Compare connections by object id
This commit is contained in:
Juan Linietsky 2021-09-13 09:02:27 -03:00 committed by GitHub
commit 42927e8069
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;