aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/API/FIRFieldPath.mm
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-05-22 16:39:45 -0700
committerGravatar GitHub <noreply@github.com>2018-05-22 16:39:45 -0700
commitfb0ba40c00b9d777ccb0bd70e2ebaee1386af4e6 (patch)
treead31b7b6dca889a400bc79f56ba85adc36d796c0 /Firestore/Source/API/FIRFieldPath.mm
parentd439bbccd4b90583a89d209d2cc81308aabca8ac (diff)
Remove extraneous braces (#1315)
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) {