aboutsummaryrefslogtreecommitdiff
path: root/icing/scoring/scored-document-hit.h
diff options
context:
space:
mode:
Diffstat (limited to 'icing/scoring/scored-document-hit.h')
-rw-r--r--icing/scoring/scored-document-hit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/icing/scoring/scored-document-hit.h b/icing/scoring/scored-document-hit.h
index c2e51b8..079ba7e 100644
--- a/icing/scoring/scored-document-hit.h
+++ b/icing/scoring/scored-document-hit.h
@@ -53,8 +53,8 @@ class ScoredDocumentHit {
double score_;
} __attribute__((packed));
-static_assert(sizeof(ScoredDocumentHit) == 14,
- "Size of ScoredDocHit should be 14");
+static_assert(sizeof(ScoredDocumentHit) == 20,
+ "Size of ScoredDocHit should be 20");
static_assert(icing_is_packed_pod<ScoredDocumentHit>::value, "go/icing-ubsan");
// A custom comparator for ScoredDocumentHit that determines which