Added using namespace ndn::ptr_lib and remove ptr_lib::
diff --git a/ndn-cpp/name.cpp b/ndn-cpp/name.cpp
index 1496219..22102bb 100644
--- a/ndn-cpp/name.cpp
+++ b/ndn-cpp/name.cpp
@@ -9,6 +9,7 @@
#include "name.hpp"
using namespace std;
+using namespace ndn::ptr_lib;
namespace ndn {
@@ -131,7 +132,7 @@
Blob
Name::Component::makeSegment(unsigned long segment)
{
- ptr_lib::shared_ptr<vector<unsigned char> > value;
+ shared_ptr<vector<unsigned char> > value;
// Add the leading zero.
value->push_back(0);