Open ujos opened 3 months ago
Could you add the [[nodiscard]] attribute to the boost::span::subspan function. I tend to forget to store the returned value:
[[nodiscard]]
boost::span::subspan
buffer_.subspan(bytesTransferred);
... instead of
buffer_ = buffer_.subspan(bytesTransferred);
Could you add the
[[nodiscard]]
attribute to theboost::span::subspan
function. I tend to forget to store the returned value:... instead of