core+face+tools: use asio::ip::address::from_string directly
The compatibility wrappers in ndn-cxx are no longer needed
and will be deprecated soon.
Change-Id: I394164c11dfe776f1d5a6f7c0dceffe9ce6ad85f
diff --git a/tests/daemon/face/tcp-factory.t.cpp b/tests/daemon/face/tcp-factory.t.cpp
index 08e4498..5bb4b9f 100644
--- a/tests/daemon/face/tcp-factory.t.cpp
+++ b/tests/daemon/face/tcp-factory.t.cpp
@@ -29,8 +29,6 @@
#include "factory-test-common.hpp"
#include "tests/limited-io.hpp"
-#include <ndn-cxx/net/address-converter.hpp>
-
namespace nfd {
namespace face {
namespace tests {
@@ -41,7 +39,7 @@
shared_ptr<TcpChannel>
createChannel(const std::string& localIp, const std::string& localPort)
{
- tcp::Endpoint endpoint(ndn::ip::addressFromString(localIp),
+ tcp::Endpoint endpoint(boost::asio::ip::address::from_string(localIp),
boost::lexical_cast<uint16_t>(localPort));
return factory.createChannel(endpoint);
}