From c1f21864194a397615669937a00e938e9c5b3336 Mon Sep 17 00:00:00 2001 From: H1Gdev Date: Wed, 15 Jul 2020 18:34:15 +0900 Subject: [PATCH] Fix sample code in doc. --- docs/framework_concepts/calculators.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework_concepts/calculators.md b/docs/framework_concepts/calculators.md index 66aefb7b1..84f5e5e1c 100644 --- a/docs/framework_concepts/calculators.md +++ b/docs/framework_concepts/calculators.md @@ -207,8 +207,8 @@ class SomeAudioVideoCalculator : public CalculatorBase { // particular type. SetAny() has the same effect as explicitly // setting the type to be the stream's type. cc->Outputs().Tag("VIDEO").Set(); - cc->Outputs().Get("AUDIO", 0).Set; - cc->Outputs().Get("AUDIO", 1).Set; + cc->Outputs().Get("AUDIO", 0).Set(); + cc->Outputs().Get("AUDIO", 1).Set(); return ::mediapipe::OkStatus(); } ```