In all .cpp files, remove using namespace ndn::ptr_lib and explicitly use ptr_lib::shared_ptr and make_shared.
diff --git a/src/sha256-with-rsa-signature.cpp b/src/sha256-with-rsa-signature.cpp
index bf4dfa6..ccf0230 100644
--- a/src/sha256-with-rsa-signature.cpp
+++ b/src/sha256-with-rsa-signature.cpp
@@ -9,14 +9,13 @@
#include <ndn-cpp/sha256-with-rsa-signature.hpp>
using namespace std;
-using namespace ndn::ptr_lib;
namespace ndn {
-shared_ptr<Signature>
+ptr_lib::shared_ptr<Signature>
Sha256WithRsaSignature::clone() const
{
- return shared_ptr<Signature>(new Sha256WithRsaSignature(*this));
+ return ptr_lib::shared_ptr<Signature>(new Sha256WithRsaSignature(*this));
}
void