nlsr: Don't use ndn aliases provided by ndn-cxx/common.hpp
refs: #3983
Change-Id: I31da8d68e0285dcfe9c7d3e5e678c00397d22bef
diff --git a/tests/publisher/publisher-fixture.hpp b/tests/publisher/publisher-fixture.hpp
index 4466b9b..477d7a7 100644
--- a/tests/publisher/publisher-fixture.hpp
+++ b/tests/publisher/publisher-fixture.hpp
@@ -19,6 +19,9 @@
* NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
**/
+#ifndef NLSR_PUBLISHER_FIXTURE_HPP
+#define NLSR_PUBLISHER_FIXTURE_HPP
+
#include "nlsr.hpp"
#include "../boost-test.hpp"
@@ -33,8 +36,8 @@
{
public:
PublisherFixture()
- : face(make_shared<ndn::util::DummyClientFace>())
- , nlsr(g_ioService, g_scheduler, ndn::ref(*face), g_keyChain)
+ : face(std::make_shared<ndn::util::DummyClientFace>())
+ , nlsr(g_ioService, g_scheduler, std::ref(*face), g_keyChain)
, lsdb(nlsr, g_scheduler, nlsr.getSyncLogicHandler())
{
}
@@ -134,7 +137,7 @@
}
public:
- shared_ptr<ndn::util::DummyClientFace> face;
+ std::shared_ptr<ndn::util::DummyClientFace> face;
Nlsr nlsr;
Lsdb lsdb;
ndn::KeyChain keyChain;
@@ -142,3 +145,5 @@
} // namespace test
} // namespace nlsr
+
+#endif // NLSR_PUBLISHER_FIXTURE_HPP