aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/core/src/firebase/firestore/model/field_value.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/core/src/firebase/firestore/model/field_value.h')
-rw-r--r--Firestore/core/src/firebase/firestore/model/field_value.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Firestore/core/src/firebase/firestore/model/field_value.h b/Firestore/core/src/firebase/firestore/model/field_value.h
index bb6594f..4cd0b3d 100644
--- a/Firestore/core/src/firebase/firestore/model/field_value.h
+++ b/Firestore/core/src/firebase/firestore/model/field_value.h
@@ -105,8 +105,8 @@ class FieldValue {
static FieldValue BlobValue(const uint8_t* source, size_t size);
// static FieldValue ReferenceValue();
static FieldValue GeoPointValue(const GeoPoint& value);
- static FieldValue ArrayValue(const std::vector<const FieldValue>& value);
- static FieldValue ArrayValue(std::vector<const FieldValue>&& value);
+ static FieldValue ArrayValue(const std::vector<FieldValue>& value);
+ static FieldValue ArrayValue(std::vector<FieldValue>&& value);
static FieldValue ObjectValue(
const std::map<const std::string, const FieldValue>& value);
static FieldValue ObjectValue(
@@ -132,9 +132,9 @@ class FieldValue {
Timestamp timestamp_value_;
ServerTimestamp server_timestamp_value_;
std::string string_value_;
- std::vector<const uint8_t> blob_value_;
+ std::vector<uint8_t> blob_value_;
GeoPoint geo_point_value_;
- std::vector<const FieldValue> array_value_;
+ std::vector<FieldValue> array_value_;
std::map<const std::string, const FieldValue> object_value_;
};
};