Skip to content

Commit 8f28453

Browse files
Got rid of some compiler warnings.
1 parent b168058 commit 8f28453

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

OptimizelySDKCore/OptimizelySDKCore/OPTLYEventDispatcher.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
#import "OPTLYEventDispatcher.h"
2020
#import "OPTLYErrorHandler.h"
2121

22+
static NSString * const kHTTPRequestMethodPost = @"POST";
23+
static NSString * const kHTTPHeaderFieldContentType = @"Content-Type";
24+
static NSString * const kHTTPHeaderFieldValueApplicationJSON = @"application/json";
25+
2226
@implementation OPTLYEventDispatcherUtility
2327

2428
+ (BOOL)conformsToOPTLYEventDispatcherProtocol:(Class)instanceClass
@@ -35,10 +39,6 @@ + (BOOL)conformsToOPTLYEventDispatcherProtocol:(Class)instanceClass
3539

3640
@end
3741

38-
static NSString * const kHTTPRequestMethodPost = @"POST";
39-
static NSString * const kHTTPHeaderFieldContentType = @"Content-Type";
40-
static NSString * const kHTTPHeaderFieldValueApplicationJSON = @"application/json";
41-
4242
@implementation OPTLYEventDispatcherBasic
4343

4444
- (void)dispatchEvent:(NSDictionary *)params

0 commit comments

Comments
 (0)