From 09c821b9df84648656556e804598f765f15a4fa5 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Tue, 9 Jan 2024 09:01:53 -0800 Subject: [PATCH] Remove designated initializers PiperOrigin-RevId: 596949983 --- .../holistic_landmarker/holistic_landmarker_graph.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mediapipe/tasks/cc/vision/holistic_landmarker/holistic_landmarker_graph.cc b/mediapipe/tasks/cc/vision/holistic_landmarker/holistic_landmarker_graph.cc index 2de358a6ca..ee486e03b2 100644 --- a/mediapipe/tasks/cc/vision/holistic_landmarker/holistic_landmarker_graph.cc +++ b/mediapipe/tasks/cc/vision/holistic_landmarker/holistic_landmarker_graph.cc @@ -403,12 +403,12 @@ class HolisticLandmarkerGraph : public core::ModelTaskGraph { kPoseLandmarksDetectorModelName, create_copy)); HolisticPoseTrackingRequest pose_request = { - .landmarks = HasOutput(holistic_node, "POSE_LANDMARKS") || - hands_requested || face_requested, - .world_landmarks = - HasOutput(holistic_node, "POSE_WORLD_LANDMARKS") || hands_requested, - .segmentation_mask = - HasOutput(holistic_node, "POSE_SEGMENTATION_MASK")}; + /*.landmarks=*/HasOutput(holistic_node, "POSE_LANDMARKS") || + hands_requested || face_requested, + /*.world_landmarks=*/HasOutput(holistic_node, "POSE_WORLD_LANDMARKS") || + hands_requested, + /*.segmentation_mask=*/ + HasOutput(holistic_node, "POSE_SEGMENTATION_MASK")}; // Detect and track pose. MP_ASSIGN_OR_RETURN(