Browse Source

这里是否需要force_inline?

Wenchao Ding 9 years ago
parent
commit
aa479e0b5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      YYModel/NSObject+YYModel.m

+ 1 - 1
YYModel/NSObject+YYModel.m

@@ -132,7 +132,7 @@ static force_inline NSNumber *YYNSNumberCreateFromID(__unsafe_unretained id valu
 }
 
 /// Parse string to date.
-static NSDate *YYNSDateFromString(__unsafe_unretained NSString *string) {
+static force_inline NSDate *YYNSDateFromString(__unsafe_unretained NSString *string) {
     typedef NSDate* (^YYNSDateParseBlock)(NSString *string);
     #define kParserNum 32
     static YYNSDateParseBlock blocks[kParserNum + 1] = {0};