szaszm commented on a change in pull request #1249: URL: https://github.com/apache/nifi-minifi-cpp/pull/1249#discussion_r800672706
########## File path: extensions/standard-processors/processors/DefragmentText.cpp ########## @@ -187,7 +187,7 @@ struct ReadFlowFileContent : public InputStreamCallback { int64_t process(const std::shared_ptr<io::BaseStream> &stream) override { content.resize(stream->size()); - const auto ret = stream->read(reinterpret_cast<uint8_t *>(content.data()), stream->size()); + const auto ret = stream->read(gsl::make_span(reinterpret_cast<std::byte*>(content.data()), stream->size())); Review comment: changed to as_span in [30de0dc](https://github.com/apache/nifi-minifi-cpp/pull/1249/commits/30de0dc2abaed028ebf8ebb08be2bd9fd86edb52) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org