Merge pull request #74 from leafy7382/master
Remove compiler error under Xcode 4.6
This commit is contained in:
commit
a35eff46db
|
@ -1497,7 +1497,7 @@ void LTLoadLanguageModel()
|
|||
}
|
||||
|
||||
NSString *errorStr = nil;
|
||||
NSPropertyListFormat format = 0;
|
||||
NSPropertyListFormat format;
|
||||
id plist = [NSPropertyListSerialization propertyListFromData:data mutabilityOption:NSPropertyListImmutable format:&format errorDescription:&errorStr];
|
||||
if (plist && [plist isKindOfClass:[NSDictionary class]]) {
|
||||
[gCandidateLearningDictionary setDictionary:(NSDictionary *)plist];
|
||||
|
|
Loading…
Reference in New Issue