Skip to content

Commit 30b698b

Browse files
smilesa-maurice
authored andcommitted
Silenced nullability warnings in Functions iOS implementation.
PiperOrigin-RevId: 264719988
1 parent a5f43f1 commit 30b698b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

functions/src/ios/callable_reference_ios.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ class Variant;
3636
namespace functions {
3737
namespace internal {
3838

39+
#pragma clang assume_nonnull begin
40+
3941
class HttpsCallableReferenceInternal {
4042
public:
4143
explicit HttpsCallableReferenceInternal(FunctionsInternal* functions,
@@ -92,6 +94,8 @@ class HttpsCallableReferenceInternal {
9294
Mutex controller_init_mutex_;
9395
};
9496

97+
#pragma clang assume_nonnull end
98+
9599
} // namespace internal
96100
} // namespace functions
97101
} // namespace firebase

functions/src/ios/functions_ios.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
// around the FIRFunctions Obj-C class.
3535
OBJ_C_PTR_WRAPPER(FIRFunctions);
3636

37+
#pragma clang assume_nonnull begin
38+
3739
namespace firebase {
3840
namespace functions {
3941
namespace internal {
@@ -78,6 +80,8 @@ class FunctionsInternal {
7880
CleanupNotifier cleanup_;
7981
};
8082

83+
#pragma clang assume_nonnull end
84+
8185
} // namespace internal
8286
} // namespace functions
8387
} // namespace firebase

0 commit comments

Comments
 (0)