mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
[Infra] Suppress designated initializer warning in FIRQueryFake (#15123)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
37b1ad64df
commit
de80eaf2a9
1 file changed
+3
@@ -16,10 +16,13 @@
|
||||
|
||||
@implementation FIRQueryFake
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wobjc-designated-initializers"
|
||||
- (instancetype)init {
|
||||
// The object is partially initialized. Make sure the methods used during testing are overridden.
|
||||
return self;
|
||||
}
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
- (void)getDocumentsWithCompletion:(FIRQuerySnapshotBlock)completion {
|
||||
if (self.getDocumentsHandler) {
|
||||
|
||||
Reference in new issue
Block a user