Skip to content

Commit c2f9b80

Browse files
committed
allow init for minkey/maxkey needed by *+Codable.swift.
1 parent 8a4075e commit c2f9b80

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

Firestore/Source/Public/FirebaseFirestore/FIRMaxKey.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ __attribute__((objc_subclassing_restricted))
3131

3232
/** Returns true if the given object is equal to this, and false otherwise. */
3333
- (BOOL)isEqual:(nullable id)object;
34-
35-
- (instancetype)init NS_UNAVAILABLE;
36-
3734
@end
3835

3936
NS_ASSUME_NONNULL_END

Firestore/Source/Public/FirebaseFirestore/FIRMinKey.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ __attribute__((objc_subclassing_restricted))
3131

3232
/** Returns true if the given object is equal to this, and false otherwise. */
3333
- (BOOL)isEqual:(nullable id)object;
34-
35-
- (instancetype)init NS_UNAVAILABLE;
36-
3734
@end
3835

3936
NS_ASSUME_NONNULL_END

Firestore/Swift/Source/Codable/MaxKey+Codable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ extension CodableMaxKey {
6161
}
6262
}
6363

64-
/** Extends RegexValue to conform to Codable. */
64+
/** Extends MaxKey to conform to Codable. */
6565
extension FirebaseFirestore.MaxKey: FirebaseFirestore.CodableMaxKey {}

Firestore/Swift/Source/Codable/MinKey+Codable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ extension CodableMinKey {
6161
}
6262
}
6363

64-
/** Extends RegexValue to conform to Codable. */
64+
/** Extends MinKey to conform to Codable. */
6565
extension FirebaseFirestore.MinKey: FirebaseFirestore.CodableMinKey {}

0 commit comments

Comments
 (0)