diff options
Diffstat (limited to 'pw_rpc/size_report/server_only.cc')
-rw-r--r-- | pw_rpc/size_report/server_only.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pw_rpc/size_report/server_only.cc b/pw_rpc/size_report/server_only.cc index aa466e6a5..a8644f778 100644 --- a/pw_rpc/size_report/server_only.cc +++ b/pw_rpc/size_report/server_only.cc @@ -24,7 +24,7 @@ class Output : public pw::rpc::ChannelOutput { public: Output() : ChannelOutput("output") {} - pw::Status Send(std::span<const std::byte> buffer) override { + pw::Status Send(pw::span<const std::byte> buffer) override { return pw::sys_io::WriteBytes(buffer).status(); } }; @@ -46,12 +46,12 @@ int main() { std::byte packet_buffer[128]; pw::sys_io::ReadBytes(packet_buffer) - .IgnoreError(); // TODO(pwbug/387): Handle Status properly + .IgnoreError(); // TODO(b/242598609): Handle Status properly pw::sys_io::WriteBytes(packet_buffer) - .IgnoreError(); // TODO(pwbug/387): Handle Status properly + .IgnoreError(); // TODO(b/242598609): Handle Status properly - my_product::server.ProcessPacket(packet_buffer, my_product::output) - .IgnoreError(); // TODO(pwbug/387): Handle Status properly + my_product::server.ProcessPacket(packet_buffer) + .IgnoreError(); // TODO(b/242598609): Handle Status properly return static_cast<int>(packet_buffer[92]); } |