all: avoid usage of deprecated namespace ndn::Tlv
refs #2079
Change-Id: I3d8748929706726b55fe1a9a0f6ae00857ea3547
diff --git a/tests/daemon/mgmt/face-status-publisher-common.hpp b/tests/daemon/mgmt/face-status-publisher-common.hpp
index e2f19f1..11f4913 100644
--- a/tests/daemon/mgmt/face-status-publisher-common.hpp
+++ b/tests/daemon/mgmt/face-status-publisher-common.hpp
@@ -82,7 +82,7 @@
}
std::stringstream error;
error << "expected type " << type << " got " << block.type();
- throw ndn::Tlv::Error(error.str());
+ throw tlv::Error(error.str());
}
static inline uint64_t
@@ -96,7 +96,7 @@
++i;
return readNonNegativeIntegerType(block, type);
}
- throw ndn::Tlv::Error("Unexpected end of FaceStatus");
+ throw tlv::Error("Unexpected end of FaceStatus");
}
class FaceStatusPublisherFixture : public BaseFixture
@@ -179,7 +179,7 @@
// wrap the Face Statuses 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);
ndn::Block parser(m_buffer.buf(), m_buffer.size());
parser.parse();