Updated C++ types to camel case in MPPTextClassifierOptions+Helpers.mm

This commit is contained in:
Prianka Liz Kariat 2023-01-06 14:02:03 +05:30
parent 5e24b8ea69
commit b7a9165e5a

View File

@ -27,10 +27,10 @@ using TextClassifierGraphOptionsProto =
@implementation MPPTextClassifierOptions (Helpers)
- (void)copyToProto:(CalculatorOptionsProto *)optionsProto {
TextClassifierGraphOptionsProto *graph_options =
TextClassifierGraphOptionsProto *graphOptions =
optionsProto->MutableExtension(TextClassifierGraphOptionsProto::ext);
[self.baseOptions copyToProto:graph_options->mutable_base_options()];
[self.classifierOptions copyToProto:graph_options->mutable_classifier_options()];
[self.baseOptions copyToProto:graphOptions->mutable_base_options()];
[self.classifierOptions copyToProto:graphOptions->mutable_classifier_options()];
}
@end