face: fix compilation with clang 7
Change-Id: Ic07ee2405d53107a089ec2b53ef3c8bed105dd01
diff --git a/daemon/face/stream-transport.hpp b/daemon/face/stream-transport.hpp
index 750432f..acc92e0 100644
--- a/daemon/face/stream-transport.hpp
+++ b/daemon/face/stream-transport.hpp
@@ -247,7 +247,7 @@
NFD_LOG_FACE_TRACE("Received: " << nBytesReceived << " bytes");
m_receiveBufferSize += nBytesReceived;
- auto unparsedBytes = ndn::span(m_receiveBuffer).first(m_receiveBufferSize);
+ auto unparsedBytes = ndn::make_span(m_receiveBuffer).first(m_receiveBufferSize);
while (!unparsedBytes.empty()) {
auto [isOk, element] = Block::fromBuffer(unparsedBytes);
if (!isOk)