Skip to content

Commit

Permalink
transport: fix compilation with clang 7
Browse files Browse the repository at this point in the history
Change-Id: I167fee0e8505c9a55b6617513045e1841a4ae70a
  • Loading branch information
Pesa committed Jun 9, 2024
1 parent ed47b29 commit cae47aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndn-cxx/transport/detail/stream-transport-impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class StreamTransportImpl : public std::enable_shared_from_this<StreamTransportI
}

m_rxBufferSize += nBytesRecvd;
auto unparsedBytes = span(m_rxBuffer).first(m_rxBufferSize);
auto unparsedBytes = make_span(m_rxBuffer).first(m_rxBufferSize);
while (!unparsedBytes.empty()) {
auto [isOk, element] = Block::fromBuffer(unparsedBytes);
if (!isOk) {
Expand Down

0 comments on commit cae47aa

Please sign in to comment.