From b7a9165e5a7bccb0a9883c9ef295675947bacd7b Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Fri, 6 Jan 2023 14:02:03 +0530 Subject: [PATCH] Updated C++ types to camel case in MPPTextClassifierOptions+Helpers.mm --- .../utils/sources/MPPTextClassifierOptions+Helpers.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mediapipe/tasks/ios/text/text_classifier/utils/sources/MPPTextClassifierOptions+Helpers.mm b/mediapipe/tasks/ios/text/text_classifier/utils/sources/MPPTextClassifierOptions+Helpers.mm index 728000b44..79e4a38cc 100644 --- a/mediapipe/tasks/ios/text/text_classifier/utils/sources/MPPTextClassifierOptions+Helpers.mm +++ b/mediapipe/tasks/ios/text/text_classifier/utils/sources/MPPTextClassifierOptions+Helpers.mm @@ -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