Allowing BypassCalculator to accept InputSidePackets.

PiperOrigin-RevId: 489483992
This commit is contained in:
Hadon Nash 2022-11-18 08:39:37 -08:00 committed by Copybara-Service
parent efcdedbd59
commit ae44012c0c

View File

@ -111,6 +111,10 @@ class BypassCalculator : public Node {
cc->Outputs().Get(id).SetAny(); cc->Outputs().Get(id).SetAny();
} }
} }
for (auto id = cc->InputSidePackets().BeginId();
id != cc->InputSidePackets().EndId(); ++id) {
cc->InputSidePackets().Get(id).SetAny();
}
return absl::OkStatus(); return absl::OkStatus();
} }