all: avoid usage of deprecated namespace ndn::Tlv
refs #2079
Change-Id: I3d8748929706726b55fe1a9a0f6ae00857ea3547
diff --git a/tests/core/segment-publisher.cpp b/tests/core/segment-publisher.cpp
index 8817669..08fc226 100644
--- a/tests/core/segment-publisher.cpp
+++ b/tests/core/segment-publisher.cpp
@@ -75,7 +75,7 @@
size_t totalLength = 0;
for (int64_t i = 0; i < N; i++)
{
- totalLength += prependNonNegativeIntegerBlock(outBuffer, ndn::Tlv::Content, i);
+ totalLength += prependNonNegativeIntegerBlock(outBuffer, tlv::Content, i);
}
m_totalPayloadLength += totalLength;
return totalLength;
@@ -113,7 +113,7 @@
// wrap data in a single Content TLV for easy parsing
m_buffer.prependVarNumber(m_buffer.size());
- m_buffer.prependVarNumber(ndn::Tlv::Content);
+ m_buffer.prependVarNumber(tlv::Content);
BOOST_TEST_CHECKPOINT("creating parser");
ndn::Block parser(m_buffer.buf(), m_buffer.size());