Skip to content

Commit

Permalink
Fix: OssModel.h OSSCustomSignerCredentialProvider new and init Confli…
Browse files Browse the repository at this point in the history
…ct in nonnull warning
  • Loading branch information
ACFancy committed May 17, 2021
1 parent 3cee40c commit 1cc4aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AliyunOSSSDK/OSSModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ TODOTODO
@interface OSSCustomSignerCredentialProvider : NSObject <OSSCredentialProvider>
@property (nonatomic, copy, readonly,) NSString * _Nonnull (^ _Nonnull signContent)( NSString * _Nonnull , NSError * _Nullable *_Nullable);

+ (instancetype _Nullable)new NS_UNAVAILABLE;
- (instancetype _Nullable)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;

/**
* During the task execution, this API is called for signing
Expand Down

0 comments on commit 1cc4aaa

Please sign in to comment.