From b3b70e6d7c2ec6787d0b492442bb4f7537b4b580 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 28 Jun 2023 23:00:57 +0200 Subject: Add asset_hashes_can_differ option to the equality checks. Before recent changes Asset::_hash would be empty when the equality checks were run (and Asset::equals() compares them directly). This mean that differences in asset hash were being ignored, but are no longer; so now we need this option to restore that behaviour where required. --- src/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/types.h') diff --git a/src/types.h b/src/types.h index a670fdd5..87d7ffc8 100644 --- a/src/types.h +++ b/src/types.h @@ -254,6 +254,8 @@ struct EqualityOptions bool reel_annotation_texts_can_differ = false; /** true if es in Reels can differ */ bool reel_hashes_can_differ = false; + /** true if asset hashes can differ */ + bool asset_hashes_can_differ = false; /** true if IssueDate nodes can differ */ bool issue_dates_can_differ = false; bool load_font_nodes_can_differ = false; -- cgit v1.2.3