Skip to content

Commit 763735f

Browse files
author
Brian Chen
authored
Remove unused options parameter (#6872)
1 parent b05be68 commit 763735f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Firestore/Source/API/FIRDocumentSnapshot.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ - (id)convertedValue:(FieldValue)value options:(const FieldValueOptions &)option
218218
case FieldValue::Type::Double:
219219
return @(value.double_value());
220220
case FieldValue::Type::Timestamp:
221-
return [self convertedTimestamp:value options:options];
221+
return [self convertedTimestamp:value];
222222
case FieldValue::Type::ServerTimestamp:
223223
return [self convertedServerTimestamp:value options:options];
224224
case FieldValue::Type::String:
@@ -238,7 +238,7 @@ - (id)convertedValue:(FieldValue)value options:(const FieldValueOptions &)option
238238
UNREACHABLE();
239239
}
240240

241-
- (id)convertedTimestamp:(const FieldValue &)value options:(const FieldValueOptions &)options {
241+
- (id)convertedTimestamp:(const FieldValue &)value {
242242
return MakeFIRTimestamp(value.timestamp_value());
243243
}
244244

@@ -250,7 +250,7 @@ - (id)convertedServerTimestamp:(const FieldValue &)value
250250
return [NSNull null];
251251
case ServerTimestampBehavior::kEstimate: {
252252
FieldValue local_write_time = FieldValue::FromTimestamp(sts.local_write_time());
253-
return [self convertedTimestamp:local_write_time options:options];
253+
return [self convertedTimestamp:local_write_time];
254254
}
255255
case ServerTimestampBehavior::kPrevious:
256256
return sts.previous_value() ? [self convertedValue:*sts.previous_value() options:options]

0 commit comments

Comments
 (0)