switch to ndn-cxx KeyChain v2
ValidatorConfig is temporarily disabled. All commands are
authorized without validation.
refs #4091
Change-Id: I4eea8cd954761424d2d084bda4e8510320b5fb46
diff --git a/src/handles/tcp-bulk-insert-handle.cpp b/src/handles/tcp-bulk-insert-handle.cpp
index 1d81b17..53a60d6 100644
--- a/src/handles/tcp-bulk-insert-handle.cpp
+++ b/src/handles/tcp-bulk-insert-handle.cpp
@@ -99,7 +99,7 @@
m_acceptor.listen(255);
shared_ptr<ip::tcp::socket> clientSocket =
- make_shared<ip::tcp::socket>(boost::ref(m_acceptor.get_io_service()));
+ make_shared<ip::tcp::socket>(std::ref(m_acceptor.get_io_service()));
m_acceptor.async_accept(*clientSocket,
bind(&TcpBulkInsertHandle::handleAccept, this, _1,
clientSocket));
@@ -127,12 +127,12 @@
std::cerr << "New connection from " << socket->remote_endpoint() << std::endl;
shared_ptr<detail::TcpBulkInsertClient> client =
- make_shared<detail::TcpBulkInsertClient>(boost::ref(*this), socket);
+ make_shared<detail::TcpBulkInsertClient>(std::ref(*this), socket);
detail::TcpBulkInsertClient::startReceive(client);
// prepare accepting the next connection
shared_ptr<ip::tcp::socket> clientSocket =
- make_shared<ip::tcp::socket>(boost::ref(m_acceptor.get_io_service()));
+ make_shared<ip::tcp::socket>(std::ref(m_acceptor.get_io_service()));
m_acceptor.async_accept(*clientSocket,
bind(&TcpBulkInsertHandle::handleAccept, this, _1,
clientSocket));