commit | 67f11acf5c2e2ff8bc81f5f6b86076bcae0593dd | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Sun Oct 19 09:29:13 2014 -0700 |
committer | Junxiao Shi <sunnylandh@gmail.com> | Mon Oct 20 06:52:36 2014 -0700 |
tree | 1198dd4689f1210d96c0baf3b252c650f3253519 | |
parent | a110f268c7ced8eddffe437abd5ac9cf923a905f [diff] [blame] |
all: avoid usage of deprecated namespace ndn::Tlv refs #2079 Change-Id: I3d8748929706726b55fe1a9a0f6ae00857ea3547
diff --git a/common.hpp b/common.hpp index 3b9d2ce..cf236ca 100644 --- a/common.hpp +++ b/common.hpp
@@ -84,8 +84,9 @@ using ndn::Block; namespace tlv { -using namespace ndn::Tlv; -} +// Don't write "namespace tlv = ndn::tlv", because NFD can add other members into this namespace. +using namespace ndn::tlv; +} // namespace tlv namespace name = ndn::name; namespace time = ndn::time;