Fixes typo in MediaPipe namespace

PiperOrigin-RevId: 565478366
This commit is contained in:
MediaPipe Team 2023-09-14 14:29:06 -07:00 committed by Copybara-Service
parent 65e7cd5236
commit 81964608ba
4 changed files with 6 additions and 10 deletions

View File

@ -15,7 +15,7 @@ limitations under the License.
#include "mediapipe/tasks/c/components/containers/category_converter.h" #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, void CppConvertToCategory(mediapipe::tasks::components::containers::Category in,
Category* out) { 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; in.display_name.has_value() ? in.display_name->c_str() : nullptr;
} }
} // namespace mediapie::tasks::c::components::containers } // namespace mediapipe::tasks::c::components::containers

View File

@ -19,11 +19,11 @@ limitations under the License.
#include "mediapipe/tasks/c/components/containers/category.h" #include "mediapipe/tasks/c/components/containers/category.h"
#include "mediapipe/tasks/cc/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, void CppConvertToCategory(mediapipe::tasks::components::containers::Category in,
Category* out); Category* out);
} // namespace mediapie::tasks::c::components::containers } // namespace mediapipe::tasks::c::components::containers
#endif // MEDIAPIPE_TASKS_C_COMPONENTS_CONTAINERS_CATEGORY_CONVERTER_H_ #endif // MEDIAPIPE_TASKS_C_COMPONENTS_CONTAINERS_CATEGORY_CONVERTER_H_

View File

@ -20,10 +20,6 @@ limitations under the License.
namespace mediapipe::tasks::c::components::containers { namespace mediapipe::tasks::c::components::containers {
namespace {
using mediapie::tasks::c::components::containers::CppConvertToCategory;
} // namespace
void CppConvertToClassificationResult( void CppConvertToClassificationResult(
mediapipe::tasks::components::containers::ClassificationResult in, mediapipe::tasks::components::containers::ClassificationResult in,
ClassificationResult* out) { ClassificationResult* out) {

View File

@ -19,7 +19,7 @@ limitations under the License.
#include "mediapipe/tasks/c/components/processors/classifier_options.h" #include "mediapipe/tasks/c/components/processors/classifier_options.h"
#include "mediapipe/tasks/cc/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( void CppConvertToClassifierOptions(
ClassifierOptions in, ClassifierOptions in,
@ -38,4 +38,4 @@ void CppConvertToClassifierOptions(
} }
} }
} // namespace mediapie::c::components::processors } // namespace mediapipe::c::components::processors