Internal change

PiperOrigin-RevId: 495468694
This commit is contained in:
MediaPipe Team 2022-12-14 18:09:20 -08:00 committed by Copybara-Service
parent 174f2869a3
commit e9e173f9fa

View File

@ -557,8 +557,8 @@ class OutputSidePacketAccess {
if (output_) output_->Set(ToOldPacket(std::move(packet))); if (output_) output_->Set(ToOldPacket(std::move(packet)));
} }
void Set(const T& payload) { Set(MakePacket<T>(payload)); } void Set(const T& payload) { Set(api2::MakePacket<T>(payload)); }
void Set(T&& payload) { Set(MakePacket<T>(std::move(payload))); } void Set(T&& payload) { Set(api2::MakePacket<T>(std::move(payload))); }
private: private:
OutputSidePacketAccess(OutputSidePacket* output) : output_(output) {} OutputSidePacketAccess(OutputSidePacket* output) : output_(output) {}