We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03ecafd commit 057d0dfCopy full SHA for 057d0df
Firestore/Source/Public/FIRDocumentChange.h
@@ -21,7 +21,12 @@ NS_ASSUME_NONNULL_BEGIN
21
@class FIRQueryDocumentSnapshot;
22
23
/** An enumeration of document change types. */
24
-typedef NS_ENUM(NSInteger, FIRDocumentChangeType) {
+#if defined(NS_CLOSED_ENUM)
25
+typedef NS_CLOSED_ENUM(NSInteger, FIRDocumentChangeType)
26
+#else
27
+typedef NS_ENUM(NSInteger, FIRDocumentChangeType)
28
+#endif
29
+{
30
/** Indicates a new document was added to the set of documents matching the query. */
31
FIRDocumentChangeTypeAdded,
32
/** Indicates a document within the query was modified. */
0 commit comments