Project import generated by Copybara.
GitOrigin-RevId: b2062656e5b3d33264e28ed0cbca31c4b93fe1bf
This commit is contained in:
@@ -405,7 +405,7 @@ namespace {
|
||||
// Returns the Packet sent to an OutputSidePacket, or an empty packet
|
||||
// if none available.
|
||||
const Packet GetPacket(const OutputSidePacket& out) {
|
||||
auto impl = dynamic_cast<const OutputSidePacketImpl*>(&out);
|
||||
auto impl = static_cast<const OutputSidePacketImpl*>(&out);
|
||||
return (impl == nullptr) ? Packet() : impl->GetPacket();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user