From 81964608ba12266d4950b1f00b530a3ead5a5c3a Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Thu, 14 Sep 2023 14:29:06 -0700 Subject: [PATCH] Fixes typo in MediaPipe namespace PiperOrigin-RevId: 565478366 --- mediapipe/tasks/c/components/containers/category_converter.cc | 4 ++-- mediapipe/tasks/c/components/containers/category_converter.h | 4 ++-- .../components/containers/classification_result_converter.cc | 4 ---- .../c/components/processors/classifier_options_converter.cc | 4 ++-- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/mediapipe/tasks/c/components/containers/category_converter.cc b/mediapipe/tasks/c/components/containers/category_converter.cc index b819c83f9..572ff5961 100644 --- a/mediapipe/tasks/c/components/containers/category_converter.cc +++ b/mediapipe/tasks/c/components/containers/category_converter.cc @@ -15,7 +15,7 @@ limitations under the License. #include "mediapipe/tasks/c/components/containers/category_converter.h" -namespace mediapie::tasks::c::components::containers { +namespace mediapipe::tasks::c::components::containers { void CppConvertToCategory(mediapipe::tasks::components::containers::Category in, Category* out) { @@ -27,4 +27,4 @@ void CppConvertToCategory(mediapipe::tasks::components::containers::Category in, in.display_name.has_value() ? in.display_name->c_str() : nullptr; } -} // namespace mediapie::tasks::c::components::containers +} // namespace mediapipe::tasks::c::components::containers diff --git a/mediapipe/tasks/c/components/containers/category_converter.h b/mediapipe/tasks/c/components/containers/category_converter.h index a8b2b6a0f..daa0e7364 100644 --- a/mediapipe/tasks/c/components/containers/category_converter.h +++ b/mediapipe/tasks/c/components/containers/category_converter.h @@ -19,11 +19,11 @@ limitations under the License. #include "mediapipe/tasks/c/components/containers/category.h" #include "mediapipe/tasks/cc/components/containers/category.h" -namespace mediapie::tasks::c::components::containers { +namespace mediapipe::tasks::c::components::containers { void CppConvertToCategory(mediapipe::tasks::components::containers::Category in, Category* out); -} // namespace mediapie::tasks::c::components::containers +} // namespace mediapipe::tasks::c::components::containers #endif // MEDIAPIPE_TASKS_C_COMPONENTS_CONTAINERS_CATEGORY_CONVERTER_H_ diff --git a/mediapipe/tasks/c/components/containers/classification_result_converter.cc b/mediapipe/tasks/c/components/containers/classification_result_converter.cc index 676955ab2..c2fd0b704 100644 --- a/mediapipe/tasks/c/components/containers/classification_result_converter.cc +++ b/mediapipe/tasks/c/components/containers/classification_result_converter.cc @@ -20,10 +20,6 @@ limitations under the License. namespace mediapipe::tasks::c::components::containers { -namespace { -using mediapie::tasks::c::components::containers::CppConvertToCategory; -} // namespace - void CppConvertToClassificationResult( mediapipe::tasks::components::containers::ClassificationResult in, ClassificationResult* out) { diff --git a/mediapipe/tasks/c/components/processors/classifier_options_converter.cc b/mediapipe/tasks/c/components/processors/classifier_options_converter.cc index e421a7832..11f9ecb49 100644 --- a/mediapipe/tasks/c/components/processors/classifier_options_converter.cc +++ b/mediapipe/tasks/c/components/processors/classifier_options_converter.cc @@ -19,7 +19,7 @@ limitations under the License. #include "mediapipe/tasks/c/components/processors/classifier_options.h" #include "mediapipe/tasks/cc/components/processors/classifier_options.h" -namespace mediapie::c::components::processors { +namespace mediapipe::c::components::processors { void CppConvertToClassifierOptions( ClassifierOptions in, @@ -38,4 +38,4 @@ void CppConvertToClassifierOptions( } } -} // namespace mediapie::c::components::processors +} // namespace mediapipe::c::components::processors