From 712a22101f92ada16d51683e18c37a3e52d78aa1 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 7 Feb 2023 09:35:46 -0800 Subject: [PATCH] Do not use designated initializer PiperOrigin-RevId: 507805920 --- .../calculators/handedness_to_matrix_calculator_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mediapipe/tasks/cc/vision/gesture_recognizer/calculators/handedness_to_matrix_calculator_test.cc b/mediapipe/tasks/cc/vision/gesture_recognizer/calculators/handedness_to_matrix_calculator_test.cc index 17b16bf8..30e5a958 100644 --- a/mediapipe/tasks/cc/vision/gesture_recognizer/calculators/handedness_to_matrix_calculator_test.cc +++ b/mediapipe/tasks/cc/vision/gesture_recognizer/calculators/handedness_to_matrix_calculator_test.cc @@ -84,8 +84,8 @@ TEST_P(HandednessToMatrixCalculatorTest, OutputsCorrectResult) { INSTANTIATE_TEST_CASE_P( HandednessToMatrixCalculatorTests, HandednessToMatrixCalculatorTest, testing::ValuesIn( - {{.test_name = "TestWithRightHand", .handedness = 0.01f}, - {.test_name = "TestWithLeftHand", .handedness = 0.99f}}), + {{/* test_name= */ "TestWithRightHand", /* handedness= */ 0.01f}, + {/* test_name= */ "TestWithLeftHand", /* handedness= */ 0.99f}}), [](const testing::TestParamInfo< HandednessToMatrixCalculatorTest::ParamType>& info) { return info.param.test_name;