From 0b5f4d563cb9fc484a8b1aa5669ab44521a8c3ee Mon Sep 17 00:00:00 2001 From: Denver Coneybeare Date: Tue, 21 Mar 2023 20:52:44 -0400 Subject: [PATCH] fields_array.h: add missing template specializations for bloom filter, added in #10823: google_firestore_v1_ExistenceFilter, google_firestore_v1_BloomFilter, and google_firestore_v1_BitSequence --- Firestore/core/src/nanopb/fields_array.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Firestore/core/src/nanopb/fields_array.h b/Firestore/core/src/nanopb/fields_array.h index 1a43b76133b..3b89b2ecd06 100644 --- a/Firestore/core/src/nanopb/fields_array.h +++ b/Firestore/core/src/nanopb/fields_array.h @@ -227,6 +227,21 @@ inline const pb_field_t* FieldsArray< return google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fields; } +template <> +inline const pb_field_t* FieldsArray() { + return google_firestore_v1_ExistenceFilter_fields; +} + +template <> +inline const pb_field_t* FieldsArray() { + return google_firestore_v1_BloomFilter_fields; +} + +template <> +inline const pb_field_t* FieldsArray() { + return google_firestore_v1_BitSequence_fields; +} + } // namespace nanopb } // namespace firestore } // namespace firebase