Add SHORT_NUMBER_SUPPORT define when initializing _shortNumberMetadataCache

This commit is contained in:
Paween Itthipalkul 2018-02-20 13:27:33 -08:00
parent 47f20db73d
commit 4d6b867ae2

View File

@ -41,7 +41,9 @@ static NSString *StringByTrimming(NSString *aString) {
self = [super init];
if (self != nil) {
_metadataCache = [[NSCache alloc] init];
#if SHORT_NUMBER_SUPPORT
_shortNumberMetadataCache = [[NSCache alloc] init];
#endif //SHORT_NUMBER_SUPPORT
}
return self;
}