aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Firestore/core/src/firebase/firestore/nanopb/tag.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Firestore/core/src/firebase/firestore/nanopb/tag.h b/Firestore/core/src/firebase/firestore/nanopb/tag.h
index 455ef0c..f9ad828 100644
--- a/Firestore/core/src/firebase/firestore/nanopb/tag.h
+++ b/Firestore/core/src/firebase/firestore/nanopb/tag.h
@@ -32,8 +32,14 @@ namespace nanopb {
* google_firestore_v1beta1_Document_name_tag.
*/
struct Tag {
- pb_wire_type_t wire_type;
- uint32_t field_number;
+ Tag() {
+ }
+
+ Tag(pb_wire_type_t w, uint32_t f) : wire_type{w}, field_number{f} {
+ }
+
+ pb_wire_type_t wire_type = PB_WT_VARINT;
+ uint32_t field_number = 0u;
};
} // namespace nanopb