aboutsummaryrefslogtreecommitdiff
path: root/icing/index/numeric/posting-list-integer-index-serializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'icing/index/numeric/posting-list-integer-index-serializer.h')
-rw-r--r--icing/index/numeric/posting-list-integer-index-serializer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/icing/index/numeric/posting-list-integer-index-serializer.h b/icing/index/numeric/posting-list-integer-index-serializer.h
index ea2f2da..cbaed33 100644
--- a/icing/index/numeric/posting-list-integer-index-serializer.h
+++ b/icing/index/numeric/posting-list-integer-index-serializer.h
@@ -79,9 +79,9 @@ class PostingListIntegerIndexSerializer : public PostingListSerializer {
// RETURNS:
// The number of data that have been prepended to the posting list. If
// keep_prepended is false and reverted, then it returns 0.
- uint32_t PrependDataArray(PostingListUsed* posting_list_used,
- const IntegerIndexData* array, uint32_t num_data,
- bool keep_prepended) const;
+ libtextclassifier3::StatusOr<uint32_t> PrependDataArray(
+ PostingListUsed* posting_list_used, const IntegerIndexData* array,
+ uint32_t num_data, bool keep_prepended) const;
// Retrieves all data stored in the posting list.
//