Fixing usages of ptr_lib::shared_ptr
In certain cases, importing both std:: and ndn::ptr_lib namespaces
causes ambiguity for shared_ptr type.
Change-Id: Iddc02353e1615b2387277c56185a1dd873d54459
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