src: Discard usage of std::pair of reference type and rename functions
Refs: #1531
Change-Id: Ief2a525b8fb8addbd491d202d6b02d5db2b41ea4
diff --git a/src/nlsr.hpp b/src/nlsr.hpp
index bef8189..ac254c3 100644
--- a/src/nlsr.hpp
+++ b/src/nlsr.hpp
@@ -33,13 +33,13 @@
Nlsr()
: m_io(new boost::asio::io_service)
, m_nlsrFace(new Face(ndn::shared_ptr<boost::asio::io_service>(&*m_io,
- &NullDeleter)))
+ &NullDeleter)))
, m_scheduler(*m_io)
, m_confParam()
, m_adl()
, m_npl()
- , m_im()
- , m_dm()
+ , m_im(*this)
+ , m_dm(*this)
, m_sm()
, m_km()
, m_isDaemonProcess(false)