Skip to content

Commit d86d788

Browse files
authored
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 (#10983)
1 parent de45a95 commit d86d788

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Firestore/core/src/nanopb/fields_array.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,21 @@ inline const pb_field_t* FieldsArray<
227227
return google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fields;
228228
}
229229

230+
template <>
231+
inline const pb_field_t* FieldsArray<google_firestore_v1_ExistenceFilter>() {
232+
return google_firestore_v1_ExistenceFilter_fields;
233+
}
234+
235+
template <>
236+
inline const pb_field_t* FieldsArray<google_firestore_v1_BloomFilter>() {
237+
return google_firestore_v1_BloomFilter_fields;
238+
}
239+
240+
template <>
241+
inline const pb_field_t* FieldsArray<google_firestore_v1_BitSequence>() {
242+
return google_firestore_v1_BitSequence_fields;
243+
}
244+
230245
} // namespace nanopb
231246
} // namespace firestore
232247
} // namespace firebase

0 commit comments

Comments
 (0)