Update connection comparison operator to compare connection sources based on instance ID instead of by pointer
(cherry picked from commit ede023d4fa
)
This commit is contained in:
parent
b13bbba80b
commit
20ec596a5d
|
@ -361,7 +361,7 @@ bool Object::Connection::operator<(const Connection &p_conn) const {
|
||||||
} else
|
} else
|
||||||
return signal < p_conn.signal;
|
return signal < p_conn.signal;
|
||||||
} else {
|
} else {
|
||||||
return source < p_conn.source;
|
return source->get_instance_id() < p_conn.source->get_instance_id();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Object::Connection::Connection(const Variant &p_variant) {
|
Object::Connection::Connection(const Variant &p_variant) {
|
||||||
|
|
Loading…
Reference in New Issue