Fix inverted parameters in sub-object hashing

This commit is contained in:
Marc Gilleron 2022-08-17 19:17:18 +01:00
parent 7101233ce6
commit 41eb19789c

View File

@ -1869,7 +1869,7 @@ static uint64_t get_deep_hash(const Object &obj,
if (value.get_type() == Variant::OBJECT) {
const Object *obj_value = value.operator Object *();
if (obj_value != nullptr) {
value_hash = get_deep_hash(*obj_value, hash, property_usage);
value_hash = get_deep_hash(*obj_value, property_usage, hash);
}
} else {