aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/API/FIRFieldPath.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Source/API/FIRFieldPath.mm')
-rw-r--r--Firestore/Source/API/FIRFieldPath.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/Source/API/FIRFieldPath.mm b/Firestore/Source/API/FIRFieldPath.mm
index 4fd0022..68f3de1 100644
--- a/Firestore/Source/API/FIRFieldPath.mm
+++ b/Firestore/Source/API/FIRFieldPath.mm
@@ -47,7 +47,7 @@ NS_ASSUME_NONNULL_BEGIN
FSTThrowInvalidArgument(@"Invalid field path. Provided names must not be empty.");
}
- std::vector<std::string> field_names{};
+ std::vector<std::string> field_names;
field_names.reserve(fieldNames.count);
for (int i = 0; i < fieldNames.count; ++i) {
if (fieldNames[i].length == 0) {