Fix for mac build break.
PiperOrigin-RevId: 304747923 Change-Id: If6fdb5bbea59869f9fc0f9a5ec06eff042b94cbe
This commit is contained in:
parent
e530f61b9e
commit
802e00d37e
|
@ -776,7 +776,9 @@ PyLocalBuffer::CopyToDeviceHelper(
|
|||
return copy_event_or.status();
|
||||
}
|
||||
|
||||
return std::pair(std::move(py_buffer), copy_event_or.ConsumeValueOrDie());
|
||||
return std::pair<std::unique_ptr<PyLocalBuffer>,
|
||||
std::shared_ptr<BufferDefinitionEvent>>(
|
||||
std::move(py_buffer), copy_event_or.ConsumeValueOrDie());
|
||||
}
|
||||
|
||||
StatusOr<std::unique_ptr<PyLocalBuffer>> PyLocalBuffer::CopyToDevice(
|
||||
|
|
Loading…
Reference in New Issue