File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ using Type = FieldValue::Type;
29
29
30
30
// Constructors
31
31
32
+ FieldValueInternal::FieldValueInternal () {
33
+ auto & value = absl::get<SharedMessage<google_firestore_v1_Value>>(value_);
34
+ value->which_value_type = google_firestore_v1_Value_map_value_tag;
35
+ value->map_value = {};
36
+ }
37
+
32
38
FieldValueInternal::FieldValueInternal (bool value) : type_{Type::kBoolean } {
33
39
auto & proto = GetProtoValue ();
34
40
proto->which_value_type = google_firestore_v1_Value_boolean_value_tag;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace firestore {
27
27
28
28
class FieldValueInternal {
29
29
public:
30
- FieldValueInternal () = default ;
30
+ FieldValueInternal ();
31
31
32
32
explicit FieldValueInternal (bool value);
33
33
explicit FieldValueInternal (int64_t value);
You can’t perform that action at this time.
0 commit comments