From 2f4d7b4079a32a99aa5e8e3593e7170dbfa757be Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Sat, 28 Oct 2023 01:07:56 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 577410310 --- mediapipe/examples/desktop/youtube8m/extract_yt8m_features.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/examples/desktop/youtube8m/extract_yt8m_features.cc b/mediapipe/examples/desktop/youtube8m/extract_yt8m_features.cc index dbabf84b1..f958924f0 100644 --- a/mediapipe/examples/desktop/youtube8m/extract_yt8m_features.cc +++ b/mediapipe/examples/desktop/youtube8m/extract_yt8m_features.cc @@ -56,7 +56,7 @@ absl::Status RunMPPGraph() { for (const std::string& kv_pair : kv_pairs) { std::vector name_and_value = absl::StrSplit(kv_pair, '='); RET_CHECK(name_and_value.size() == 2); - RET_CHECK(!mediapipe::ContainsKey(input_side_packets, name_and_value[0])); + RET_CHECK(!input_side_packets.contains(name_and_value[0])); std::string input_side_packet_contents; MP_RETURN_IF_ERROR(mediapipe::file::GetContents( name_and_value[1], &input_side_packet_contents));